[wp-meta] [Making WordPress.org] #4730: unbalanced HTML in Plugins Home page
Making WordPress.org
noreply at wordpress.org
Thu Dec 5 01:54:00 UTC 2019
#4730: unbalanced HTML in Plugins Home page
----------------------------------------+-----------------------
Reporter: joyously | Owner: (none)
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: needs-patch good-first-bug |
----------------------------------------+-----------------------
Comment (by dufresnesteven):
There is definitely debate as to whether an icon that **does** have text
next to it needs an alt tag and based on the component itself, I would
agree it may not be necessary. But if we look at this component in the
flow, it isn't apparent.
For example, on the `/plugins` page, tabbing through doesn't go through
the expected flow. Instead of reading the Heading to contextualize the
section, we go directly to the "See All" link and then to the plugin
itself.
It sounds like this when you tab into the Block Enabled Plugins section:
**"Main section heading: See all block enabled plugins, link"**
''Tab to select a plugin''
**"Article"**
''Tab to icon''
**"Icon XXXXXX, link"**
''Tab to title''
It then reads the name of the plugin.
If the plugin doesn't have the word "Plugin" in it, theres no way to tell
you are focused on a plugin.
You can try this extension to validate:
https://chrome.google.com/webstore/detail/chromevox-classic-
extensi/kgejglhpjiefppelpmljglcjbhoiplfn
**Note: we should probably also add a title to the `<a>` tag that
surrounds the `<img>` since there is no way to tell where it's going.
Replying to [comment:16 dd32]:
> Thanks @dufresnesteven.
>
> I'm actually not even sure that this should have an alt, and if it
should, if it shouldn't just be an `alt=""`.
> The image is almost purely for decoration, and the plugin name will
always be included next to/after it in terms of a screen reader, so I'm
actually thinking that this will increase the burden upon the viewer
without actually providing any benefit of context. Thoughts?
>
> > The %s plugin logo
> As an FYI, I think this should only be referred to as the plugin
**icon** since it's not always the logo of the plugin, and may also be
auto-generated.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4730#comment:18>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list