joomla-projects / j4adminui

Joomla!4 alternative backend template
GNU General Public License v2.0
24 stars 18 forks source link

WCAG 4.1.2: Buttons must have discernible text (#decrement) (#increment) #117

Closed brianteeman closed 4 years ago

brianteeman commented 4 years ago

The irony of thee accessibility code failing basic accessibility ;)

image

Issue

Buttons must have discernible text (button-name)

Target application

Control Panel - 109 - Administration

Element path

decrement

Snippet

<button class="font-unresizable icon-minus-sign" id="decrement"></button>

How to fix

Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element's default semantics were not overridden with role="presentation"
  Element's default semantics were not overridden with role="none"
  Element has no title attribute or the title attribute is empty