Remodal
Remodal copied to clipboard
AODA - Empty button
I'm getting a aoda error running Wave http://wave.webaim.org/
It's saying that the button is empty.
<button data-remodal-action="close" class="remodal-close">
Wave's reason for empty buttons
Empty button
What It Means
A button is empty or has no value text.
Why It Matters
When navigating to a button, descriptive text must be presented to screen reader users to indicate the function of the button.
How to Fix It
Place text content within the
The Algorithm... in English
A button element is present that contains no text content (or alternative text), or an <input type="submit">
, <input type="button">
, or <input type="reset">
has an empty or missing value attribute.
Have you tried inserting a dummy value to check if it works with said value? Example:
<button data-remodal-action="close" class="remodal-close" value="Dummy Text">
I guess it depends on if the button is within a form or not.