#56230 closed defect (bug) (fixed)
Incorrect aria-live announcement when removing a permalink custom structure
Reported by: | joedolson | Owned by: | joedolson |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Permalinks | Keywords: | has-patch commit add-to-field-guide |
Focuses: | accessibility, javascript | Cc: |
Description (last modified by )
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.
Attachments (3)
Change History (13)
#2
@
2 years ago
Tested with NVDA/Chrome already.
Testing:
- at Settings > Permalinks, using a screen reader, navigate to custom structure buttons.
- Add a structure to the permalink format, noting announcement '{tag} added to permalink structure'
- Navigate back to same structure, click again to remove. note announcement '{tag} removed from permalink structure'.
#4
@
2 years ago
- Keywords needs-refresh added
Might need a refresh after all updates to options-permalink.php
.
This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.
2 years ago
Note: See
TracTickets for help on using
tickets.
Add 'remove' message to permalink structure buttons