[wp-trac] [WordPress Trac] #43986: Disable "Install Plugin" button for PHP required version mismatch

WordPress Trac noreply at wordpress.org
Fri Jun 1 08:20:03 UTC 2018


#43986: Disable "Install Plugin" button for PHP required version mismatch
-------------------------------------------------+-------------------------
 Reporter:  schlessera                           |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  5.0
Component:  Plugins                              |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  needs-unit-tests servehappy dev-     |     Focuses:
  feedback has-patch                             |
-------------------------------------------------+-------------------------

Comment (by afercia):

 The proposed usage of the aria-label doesn't meet what the WCAG recommend
 in these cases:
 - Why?
 - View plugin installation incompatibility with %s

 Ideally, the aria-label text should start with the same text used for the
 visible link text. There are good reasons for this, for more details see
 the links below. Instead, the aria-label used here is completely different
 form the visible text. Regardless, I'd recommend to keep things simple and
 not use an aria-label in the first place. A better, visible, link text
 instead of `Why?` would be certainly a better option.

 https://www.w3.org/TR/WCAG21/#label-in-name
 Success Criterion 2.5.3 Label in NameĀ§
 > For user interface components with labels that include text or images of
 text, the name (they mean the accessible name, i.e. the aria-label)
 contains the text that is presented visually.

 https://www.w3.org/WAI/WCAG21/Understanding/label-in-name.html
 > A best practice is to have the text of the label at the start of the
 name.

 https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html
 > the aria-label text will override the text supplied within the link. As
 such the text supplied will be used instead of the link text by AT. Due to
 this it is recommended to start the text used in aria-label with the text
 used within the link. This will allow consistent communication between
 users.

 https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html#ARIA8-ex1
 > The words 'read more' are repeated in the aria-label (which replaces the
 original anchor text of "[Read more...]") to allow consistent
 communication between users.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43986#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list