vodkabears / Remodal

No longer actively maintained.
http://vodkabears.github.io/remodal/
MIT License
2.76k stars 774 forks source link

AODA - Empty button #266

Open HellooooNewman opened 7 years ago

HellooooNewman commented 7 years ago

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

oBWolfstar commented 7 years ago

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.