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 (button[data-target="module-87"]) #54

Closed brianteeman closed 4 years ago

brianteeman commented 4 years ago

Issue

Buttons must have discernible text (button-name)

It also doesn't appear to do anything

Target application

Control Panel - kh - Administration

Element path

button[data-target="module-87"]

Snippet

<button class="j-card-header-icon icon-chevron-down joomla-collapse-card-body" data-target="module-87"></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

Environment

Chrome version 78.0.3904.97