Kilotest: Diagnoses of button name not visible violation by HTML element 1821 on Open Secrets page

Basics

About the Open Secrets page

About HTML element 1821

About the button name not visible issue

Diagnoses

Here is how tools diagnose the button name not visible issue for HTML element 1821 of the Open Secrets page.

  1. The button content has only whitespaces. Having only defined an attribute aria-label="Go to last slide" 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

  2. The button content has only whitespaces. Having only defined an attribute aria-label="Next slide" 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