Kilotest: Diagnoses of button name not visible violation by HTML element 351 on Metropolitan Transportation Authority page

Basics

About the Metropolitan Transportation Authority page

About HTML element 351

About the button name not visible issue

Diagnoses

Here is how rule engines diagnose the button name not visible issue for HTML element 351 of the Metropolitan Transportation Authority page.

  1. The button should have a description, but the content is empty. Having only defined an attribute aria-label="Swap From and To addresses" is not sufficient and it is recommended to have the content instead, e.g. at least visually hidden, but exposed to assisitve technologies. Some users are disabling styles for better readability, and also description from attribute is not available for automatic translators.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: empty_button_description