Alex Morega
c4ef290859
Explicitly set triggerElement when invoking save (with publish) button on pages
...
Fixes #11420
Two issues existed;
1. Safari will not set `document.activeElement` as expected in all other browsers, instead, when a button is clicked it will keep the activeElement as `body`. This meant that the reset of the disabled button (before the confirm triggers a click) was not working.
2. Visually the button still had the loading spinner due to w-progress controller having triggered the loading visuals, this did not block the behaviour but looked broken.
See Safari behaviour docs:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#clicking_and_focus
- https://bugs.webkit.org/show_bug.cgi?id=22261
2024-01-24 08:17:37 +10:00
elhussein almasri
d1b1fa638d
Make TableBlock cells reachable using keyboard
...
Fixes #8893
2024-01-24 07:48:20 +10:00
Aman Pandey
690c382577
Use table caption instead of aria-describedby in page ordering
...
When the page listing is in re-ordering mode, use the Table caption to provide a screen reader description.
This is more suitable instead of aria-describedby & builds on changes made in #11250
2024-01-24 06:54:40 +10:00
Aman Pandey
7f1216e225
Add table caption property in table class component
...
Add support for basic rendering of a screen reader (not visible) only caption element
Fixes #11493
2024-01-24 06:54:40 +10:00
Matt Westcott
e1693ee5db
Release note for #10311
2024-01-23 16:53:14 +00:00
LB Johnston
b991ddf9c4
Deprecate WidgetWithScript - potentially unsafe and no longer used
...
- Avoid inline scripts in the test code, this approach is no longer recommended and causes CSP non-compliance
- Relates to #7053
2024-01-23 16:52:55 +00:00
LB Johnston
a17f7c3e1c
Documentation - client-side Stimulus - add detailed integration example
2024-01-23 16:49:47 +00:00
Matt Westcott
e9e372272f
Fill in release date for 5.2.3
2024-01-23 15:19:48 +00:00
Cynthia Kiser
e4c80fd2c3
Allow ordering from IndexView to work but still be overridden by ordering set in ModelViewSet ( #11367 )
...
Fixes #11165
2024-01-23 14:14:32 +00:00
Sage Abdullah
eba827d4ae
Release note for #11477
2024-01-23 10:05:36 +00:00
Thibaud Colas
4790b44ba1
Move accessibility checker inside the editor ( #11478 ). Fix #10136
2024-01-23 08:15:34 +00:00
Rohit Sharma
50bdb724b5
Fix chooser buttons focus color is too dark in dark mode
...
Fixes #10875
2024-01-23 12:30:41 +10:00
elhussein almasri
175b7ac044
Fix exclude_fields_in_copy
issues with default/unique values
...
- Ensure that revisions also exclude the field as an initial revision is created on page creation
- Fixes #11428
- Fixes #10922
- See also #11323 & #11323
2024-01-23 08:33:15 +10:00
Salvo Polizzi
dd338de6f3
docs: documented get_children in Page model reference
...
Fixes #11499
2024-01-23 07:49:40 +10:00
Nick Smith
3d7bbeb908
Raise meaningful error when no site for SiteSetting ( #11513 )
2024-01-22 21:13:32 +00:00
Stefan Hammer
c51baf6d42
Update the fields in the database while the object is in draft state ( #10104 )
...
Fixes #9285
2024-01-22 20:09:32 +00:00
Sage Abdullah
b07ed3d17d
Release note for #11463
2024-01-22 16:06:26 +00:00
Thibaud Colas
76d91d55af
Update color variables documentation and tests
2024-01-22 16:04:06 +00:00
Curtis Maloney
399aad2ce7
Fix documentation - TableBlock example ( #11502 )
...
Add missing comma in `contextMenu` configuration.
2024-01-22 16:29:06 +10:00
Jake Howard
8fcf6ec1e9
Use FileResponse
when serving files
...
- Ensure text documents are binary
- Django internally will deadlock if the file sent isn't bytes
- Remove unnecessary open call
2024-01-22 08:06:34 +10:00
Matt Westcott
5b1ab02be5
Document MIT licensing terms for handsontable 6.2.2
...
Ref: #11497
People regularly raise concerns about handsontable as a commercial product being incompatible with Wagtail's licence. Clarify that we are using the last version available under the MIT licence, and link to the relevant git tag to allow people to verify this (since the handsontable website no longer mentions the open-source version, and is probably a vastly different product at this point).
2024-01-21 14:41:46 +00:00
LB Johnston
b41e196489
Formatting documentation for whitespace fixes
...
Also include actual footnote reference for upgrading patch release note
2024-01-21 19:59:57 +10:00
LB Johnston
bbcf1e74ee
Add changelog & a few fixes for #11194
...
Partially reverts commit 7fa335c20d
(fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
LB Johnston
24725fe681
Add documentation guidelines section for external (Django) links
2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran
ecc1194f61
Add myst_url_schemes config for external links
2024-01-21 10:09:21 +10:00
Alex Tomkins
f73ae8db90
Raise 404 with bulk actions for models which don't exist
...
Fixes #11491
2024-01-21 08:16:48 +10:00
Rohit Sharma
80f433143d
Migrate Image URL generator views to class based views
...
- Relates to #8365 (class based views migration)
2024-01-20 22:12:57 +10:00
nandini584
c99c74cc7e
Ensure panel anchor sizes meet minimum accessible size
...
Fixes #11411
2024-01-20 22:01:59 +10:00
Matt Westcott
33e4e1a136
Update docs on get_language_info tag
...
Prompted by https://stackoverflow.com/q/77646918/1853523 - link to the docs for the tag rather than the function, and include the `{% load i18n %}` line.
2024-01-20 21:48:26 +10:00
Rohitansh
cb90ffeaf3
Ensure a visual only th element gets ignored by accessibility tooling
...
Empty table header found in the 'Your locked pages' dashboard section
Fixes #11459
2024-01-20 21:46:21 +10:00
LB Johnston
b710044f29
Add changelog for #11137 & #11490
2024-01-20 21:38:03 +10:00
LB Johnston
fbe585184f
Add changelog for #11468 & #11471
2024-01-20 21:22:02 +10:00
Matt Westcott
6e932089b9
Release note for #11472
2024-01-19 11:53:15 +00:00
Curtis Maloney
5c412d45c9
Update table_block.md ( #11474 )
...
* Correct `mergeCells` option.
2024-01-19 11:37:57 +10:00
LB Johnston
18a1101656
Add changelog for #11250 (w-orderable)
2024-01-19 08:48:48 +10:00
Sage Abdullah
66bd5fbc93
Release note for #11444
2024-01-18 16:00:22 +00:00
Thibaud Colas
d538413030
Release notes for #8127
2024-01-18 11:56:18 +00:00
Sage Abdullah
e04d540bd1
Add icon--directional class to mirror icons for RTL languages
2024-01-18 11:56:18 +00:00
Sage Abdullah
2531f688f3
Release note for #11467
2024-01-18 11:47:16 +00:00
the-r3aper7
78f6990d35
Adopt Stimulus UnsavedController for page edit/create forms
2024-01-18 08:07:16 +10:00
LB Johnston
430a37653c
Remove non-functional and inaccessible auto-focus on first field in page create forms
2024-01-18 08:07:16 +10:00
the-r3aper7
422d6a8cbe
Migrate enableDirtyFormCheck to Stimulus UnsavedController
...
- Include backwards compatible global function replacement
2024-01-18 08:07:16 +10:00
Sage Abdullah
dece4fdaf4
Release note for #11456
2024-01-17 19:22:23 +00:00
Thibaud Colas
89aa153168
Universal listings release notes first draft
2024-01-17 15:33:07 +00:00
Sage Abdullah
0de0cf4dd5
Add info-125 shade to color variables
2024-01-17 15:33:07 +00:00
Thibaud Colas
be14465c4e
Improve CSS authoring guidelines ( #10049 )
...
Co-authored-by: sage <laymonage@gmail.com>
2024-01-17 07:40:47 +00:00
Rohit Sharma
6f93b1a2c4
Fix long comment UI issues (scroll shaking & comment overflow)
...
- Includes PR #11322
- Fixes #10984 (scrolling issues with long initial comments)
- Fixes #11324 (overflow of comment reply with long words)
2024-01-17 17:34:48 +10:00
nandini584
a88a775aea
Ensure the sidebar account toggle has no duplicate accessible labels
...
- Remove the integration test for this element as it was failing even though the element has valid content.
- Fixes #11372
2024-01-17 12:43:38 +10:00
nandini584
e91cdb47da
Update Jest version (package.json)
2024-01-17 12:43:38 +10:00