Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AODA - Empty button #266

Open
HellooooNewman opened this issue Oct 17, 2016 · 1 comment
Open

AODA - Empty button #266

HellooooNewman opened this issue Oct 17, 2016 · 1 comment

Comments

@HellooooNewman
Copy link

HellooooNewman commented Oct 17, 2016

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 element or give the <input> element a value attribute.

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.

@oBWolfstar
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants