Commit graph

9200 commits

Author SHA1 Message Date
Helen Chapman
e33732cc63 Add more contextual information for screen readers in the explorer menu’s links (#5335, #5386) 2019-06-19 15:19:41 +01:00
Jonny Scholes
4ef9919240 Refactor submenu JS to remove jquery dep and move to wagtail-client (#5254) 2019-06-19 12:30:39 +01:00
Thibaud Colas
722321c3ff
Re-add loading of Wagtail icon font for userbar. Fix #5397 (#5398) 2019-06-19 10:04:52 +01:00
Fidel Ramos
41f80af5db Optimization of UserPagePermissionsProxy.revisions_for_moderation (#5311)
revisions_for_moderation() was iterating over Page instances only
to use their path attribute. The optimization uses values_list()
over the GroupPagePermission queryset to retrieve only the page
paths without having to create the model instances in memory. This
saves roughly 50% of the runtime.
2019-06-18 20:14:54 +01:00
Helen Chapman
4a1f26778f Add labels to permission checkboxes for screen reader users (#5329, #5395)
- adds a fieldset around checkboxes with the same name
- add correct labels for object permissions table
- Ensure that image and document permissions labels display correctly, and ensure that labels for the dropdowns for document and image collections are not display:none
- Hide labels from sighted users in group edit / group add pages
2019-06-18 18:23:36 +01:00
John Carter
17e541715a Fix spelling (#5393) 2019-06-18 17:48:10 +01:00
Coen van der Kamp
3eb71d702e
Merge pull request #5378 from thibaudcolas/bug/icon-help-inverse-5359
Fix help-inverse icon regression introduced by icon refactorings in #5359
2019-06-18 14:06:01 +02:00
jordan-bauer
998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +01:00
Andy Babic
73e07ba10d
Fix elasticsearch search backend tests broken by #5208 2019-06-17 22:17:59 +01:00
Helen Chapman
98d3ef4743 Ensure the 'add child page' button displays when focused (#5274, #5382) 2019-06-17 18:11:04 +01:00
Helen Chapman
4b4db7d771 Adds screen-reader-only text to the close button for modals (#5274, #5377)
* Adds clearer text to the close button for modals
* Use existing wagtailConfig.STRINGS to store the new translatable string for JS, rather than introducing a new library.
* Update list of string constants for translation in the tests file
* Remove aria-hidden on modal dialog close button
2019-06-17 15:56:48 +01:00
Matt Westcott
77a3bf60ca Add form media to users/edit.html (#5390) 2019-06-17 15:12:02 +01:00
Eric Dyken
eba3357fd4 Adds Collections section to editor's guide 2019-06-17 10:13:49 +01:00
Andy Babic
fdd8ddc2b1 Release notes for #5373 2019-06-13 13:56:49 +01:00
George Hickman
3624558e00 Expose Permission object in format_permssions tag
A checkbox (specifically, a BoundWidget) is instantiated with data from
a django.contrib.auth.models.Permission instance.  However it doesn't
receive the full object so it isn't available in the template.  This
stops a user from accessing useful values like Permission.name.

This adds the relevant Permission object to the template in a dict for
ease of access.
2019-06-13 13:47:27 +01:00
Thibaud Colas
c5e60ca1d4 Fix help-inverse icon regression introduced by icon refactorings in #5359 2019-06-12 18:41:51 +01:00
Thibaud Colas
4349c6c4dd Add release notes for #5356 2019-06-12 18:31:32 +01:00
Helen C
c806f1008f Fix styling and js regressions on page editor, and restore scheduled publishing special icon style 2019-06-12 18:31:32 +01:00
Thibaud Colas
5adda1af43 Fix regression for unpublished pages styles & revision index item 2019-06-12 18:31:32 +01:00
Helen C
36db643f20 On the images page, use a figcaption rather than a heading for the image description 2019-06-12 18:31:32 +01:00
Helen C
d3ccedd5ae Remove unnecessary heading elements from the site listing page and the snippet index page. 2019-06-12 18:31:32 +01:00
Helen C
daf53ed5f4 Ensure navigation submenu titles correctly label the relevant subnavigation items 2019-06-12 18:31:32 +01:00
Helen C
c82f7fded3 Remove h2s from tabbed interface. This also reverts a styling change to the tabs that their addition had caused. 2019-06-12 18:31:32 +01:00
Helen C
6e32c6749b Ensure navigation headings on search results correctly label the relevant nav element 2019-06-12 18:31:32 +01:00
Helen C
7e19f28ff5 Remove heading element wrapped around label element in order to resolve resulting incorrect heading structure. 2019-06-12 18:31:32 +01:00
Beth Menzies
1e5612ff90 adjust heading structure to be more accessible 2019-06-12 18:31:32 +01:00
kevinhowbrook
e8c64e593d Missing class imports 2019-06-11 11:53:19 +01:00
Andy Babic
13b485a2a9 Fix sphinx errors 2019-06-08 18:27:42 +01:00
Andy Babic
2115d57c3e Release notes for #5208 2019-06-08 18:03:24 +01:00
Seb
b839bd65bb Add support for custom search handler classes to ModelAdmin's IndexView
Author:    Seb <seb@takeflight.com.au>
Date:      Sun Apr 7 12:34:00 2019 +1000
2019-06-08 17:57:24 +01:00
Helen Chapman
ed7ca7ccea Stop repeating label, add image dimensions in image gallery & choosers for screen reader users (#5355)
- Images in the image listing now have an empty alt tag
- All information about the image, including title and image dimensions are now in the heading below
- The dimensions are visually hidden because they only relevant to screen readers, as sighted users can get and idea of the image dimensions from the thumbnail
2019-06-07 18:24:33 +01:00
Thibaud Colas
63635644cd
Add release notes for #5359 (#5363) 2019-06-07 18:13:04 +01:00
Dillen Meijboom
dd1597ea37 Implemented branding title prefix customization (#5344) 2019-06-07 17:06:00 +01:00
Matt Westcott
13133dad5b Release note for #5361 2019-06-07 16:22:44 +01:00
kevinhowbrook
9ec7f9194e Also offer no delete option on documents 2019-06-07 15:51:15 +01:00
kevinhowbrook
63d966819e Offer no delete options, as is on pages and snippets 2019-06-07 15:51:15 +01:00
Coen van der Kamp
7205bd6a32
Merge pull request #5359 from thibaudcolas/bug/icons-sr-friendly-implementation-1224
Change icon font implementation to be screen-reader friendly (#1224)
2019-06-07 12:57:34 +02:00
Thibaud Colas
cfea020605 Update icomoon project definition according to changes 2019-06-06 18:12:01 +01:00
Thibaud Colas
8cd384ec1f Switch legacy icon implementations to use variables instead of hard-coded characters 2019-06-06 18:00:57 +01:00
Thibaud Colas
5e19ce89f1 Remove unneeded icon overrides from icon styles 2019-06-06 18:00:22 +01:00
Thibaud Colas
3af7e0ea71 Reorder styleguide icons to be in the same order as SCSS definitions 2019-06-06 17:59:29 +01:00
Thibaud Colas
431782c7ae Switch all icons to be defined with private use codepoints instead of ASCII letters 2019-06-06 17:58:01 +01:00
Thibaud Colas
059c139515 Remove bad practice example from CSS guidelines 2019-06-06 17:04:23 +01:00
Thibaud Colas
0665e98c18 Use the same icons for Hallo as for the rest of Wagtail 2019-06-06 17:00:01 +01:00
Helen Chapman
669c1af4a0 Remove menu role from page edit action menu (#5354, #5327) 2019-06-05 19:11:55 +01:00
Bertrand Bordage
a3f2748c5d
Makes LICENSE recognized by GitHub. 2019-06-05 15:18:50 +02:00
Jonny Scholes
377259f068
Make license more prominent 2019-06-05 21:49:47 +10:00
Thibaud Colas
e191582b94
Add a "Dashboard" label for logo link in the main nav for screen reader users (#5349)
* Use the correct link label for Dashboard link in main nav
* Remove dashboard link title with Wagtail version number
2019-06-04 21:51:18 +01:00
Thibaud Colas
8d10c4688e Update squash user details to be more portable
- Changes the user's email from `@myproject.com` to `@example.com`. myproject.com points to a real website, it feels better to use a domain that's definitely meant as a placeholder.
- Changes the password to `changeme`, matching the credentials used for https://github.com/wagtail/bakerydemo.
2019-06-03 22:06:15 +01:00
Thibaud Colas
e0f84389bb Release notes for #5317 2019-05-28 11:53:26 +01:00