[wp-meta] [Making WordPress.org] #4730: unbalanced HTML in Plugins Home page

Making WordPress.org noreply at wordpress.org
Sun Mar 26 04:19:15 UTC 2023


#4730: unbalanced HTML in Plugins Home page
----------------------------------------+-----------------------
 Reporter:  joyously                    |       Owner:  (none)
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:
Component:  Plugin Directory            |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+-----------------------

Comment (by sabernhardt):

 The image tags require an `alt` attribute. Leaving it empty as `alt=''` in
 the
 [https://github.com/WordPress/wordpress.org/blob/50ef8b1efc426f4905bae587959474175b5c42bb/wordpress.org/public_html
 /wp-content/plugins/plugin-directory/class-template.php#L400-L402
 get_plugin_icon function] is an option, though. Then when an image is
 linked, either the link would need to include nearby visible text or else
 meaningful alternative text would replace the empty `alt=''`.

 In addition to the Plugin Directory page, this also affects embeds for
 plugins and themes. @alh0319
 [https://wordpress.slack.com/archives/C02RP4X03/p1679777032833569
 mentioned the embeds in Slack], in relation to the content on
 https://gdwp20.com/. Should those be handled on a separate ticket (or two,
 dividing plugin and theme embeds)?

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4730#comment:23>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list