Input Element Missing Value Attribute

Compliance Data & User Impact

User Impact: Critical

100% Complete

Disabilities Affected:

  • blindness
  • deaf blindness
  • learning disabilities

WCAG Version:
2

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:
High

Check1st Severity:
3

DRRSAG Designations:

  • description

How to Fix the Problem

Add a value attribute to describe the <input> element.

The Algorithm, In Simple Terms

The engine scans for <input> elements with type attributes equal to submit, reset or button that are missing value attributes.

Why Is It Important?

Assistive technologies use the accessibility API to extract the button’s name by the text associated with that element. Users who use assistive tools, such as screen readers rely on that text to understand the purpose of the button.

Code Example

<input type="submit" value="Submit"/>
<input type="reset" value="Reset"/>
<input type="button" value="Button"/>

Additional Information

Relevant Technologies:

This element perfoms as a container, and has no functionality. This container may contain another elements that has functionality or logical role.

Ignore this issue if this element has an alternative that performs the same and overrides the content of this element.