[wp-trac] [WordPress Trac] #40138: Bundled themes: the tag cloud widget should output a list
WordPress Trac
noreply at wordpress.org
Sun Mar 12 23:11:06 UTC 2017
#40138: Bundled themes: the tag cloud widget should output a list
-------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: ui, accessibility |
-------------------------------+-----------------------------
Splitting this out from #35566
Bundled themes should show best practices to theme authors. About the Tag
Cloud widget, the latest patch on #35566 proposes some accessibility
improvements, however it doesn't force the tags to be output as an
unordered list to avoid the need to output some inline stylesheet.
A better option would be using the `format` argument to tweak the output
on a case by case basis.
From a semantic perspective, the tags list is... well, a list. Setting the
`format` argument to `list` would allow assistive technologies to announce
the list as a list and the number of items in the list. Most of the users
from the a11y testers group expressed a preference to have the number of
items being announced, see the test results on #35566.
This would require some simple CSS adjustments, which is trivial to do in
the Themes stylesheet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40138>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list