[wp-trac] [WordPress Trac] #55498: Permalink Settings Page Accessibility Improve
WordPress Trac
noreply at wordpress.org
Thu Mar 31 22:32:29 UTC 2022
#55498: Permalink Settings Page Accessibility Improve
--------------------------+-------------------------------------
Reporter: rishishah | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: | Focuses: accessibility, ui-copy
--------------------------+-------------------------------------
Changes (by sabernhardt):
* focuses: accessibility => accessibility, ui-copy
* component: General => Permalinks
* version: trunk =>
Comment:
Thanks for the report!
Yes, that input needs a label, though it should describe the input better
than the base URL does. "Custom Permalink Structure Tags" is one option,
and I welcome other ideas.
There are a few other considerations on this screen:
- The radio buttons could have `aria-describedby` values connecting each
to its example URL.
- The radio button labels still wrap both the input and text (not
separated, using `id` and `for`).
- "Available tags:" could be a `legend` for a `fieldset` to group the
related buttons.
- I would like to wrap the custom text input plus its (probably non-
visual) label and base URL within a `<span class="code"></div>` for better
RTL support, which might fit well with #47755 instead.
- When navigating by keyboard, editing the custom input value ''on
changing'' the radio buttons can cause problems. This JS issue can be on
its own ticket; I'm not sure about the others.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55498#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list