[wp-trac] [WordPress Trac] #56230: Incorrect aria-live announcement when removing a permalink custom structure
WordPress Trac
noreply at wordpress.org
Fri Jul 15 23:26:11 UTC 2022
#56230: Incorrect aria-live announcement when removing a permalink custom structure
----------------------------------+----------------------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Permalinks | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: accessibility, javascript
testing |
----------------------------------+----------------------------------------
Description changed by sabernhardt:
Old description:
> When removing an added custom structure at Settings > Permalinks, the
> same message is announced as when adding the custom structure, e.g. "year
> added to permalink structure". The message when removing should instead
> indicate "year removed from permalink structure".
>
> The button's aria-label is changed to indicate that the element is
> already used, and that changes after activating the link, but the
> announced message will give the impression that you have added the
> structure rather than removing.
>
> This was introduced in https://core.trac.wordpress.org/changeset/41182/.
New description:
When removing an added custom structure at Settings > Permalinks, the same
message is announced as when adding the custom structure, e.g. "year added
to permalink structure". The message when removing should instead indicate
"year removed from permalink structure".
The button's aria-label is changed to indicate that the element is already
used, and that changes after activating the link, but the announced
message will give the impression that you have added the structure rather
than removing.
This was introduced in changeset:41182.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56230#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list