Kilotest: Diagnoses of button name not visible violation by HTML element 531 on Freedom of the Press Foundation page

Basics

About the page

About the issue

About the violator

Diagnoses

Here is how rule engines diagnose the button name not visible issue for HTML element 531 of the Freedom of the Press Foundation page.

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

    Rule engine: ASLint (eSSENTIAL Accessibility)

    Rule: empty_button_description