Kilotest: Diagnoses of button name not visible violation by HTML element 110 on Koenig Childhood Cancer Foundation donations page

Basics

About the Koenig Childhood Cancer Foundation donations page

About HTML element 110

About the button name not visible issue

Diagnoses

Here is how tools diagnose the button name not visible issue for HTML element 110 of the Koenig Childhood Cancer Foundation donations page.

  1. The button should have a description, but the content is empty. Having only defined an attribute aria-label="Switch to dark mode" 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