Accessible names for buttons (button-accessible-name)

Buttons must have non-empty accessible names, using visible text, aria-label, or aria-labelledby attributes.

Note: The value attribute does not provide an accessible name for <button> elements. It only applies to <input> elements of type button, submit, or reset.

Button with value attribute only:

This <button> element has an empty ("") accessible name. Although it has a value attribute, it is not used to compute the accessible name for <button> elements.


Note: Possible to implement because it can be programmatically detected when a <button> has no accessible name and only a value attribute.

axe detected: 4.1.2  |  QualWeb detected: 4.1.2