This rule applies to any element that has:
Note: widget roles that supports name from content are:
The complete visible text content of the target element either matches or is contained within its accessible name.
Note: Leading and trailing whitespace and difference in case sensitivity should be ignored.
There are currently no assumptions
There are no major accessibility support issues known for this rule.
Passed Example 1
Visible label and accessible name matches when trailing white spaces are removed.
<div role="link" aria-label="next page ">next page</div>
Passed Example 2
Character insensitivity between visible label and accessible name.
<div role="link" aria-label="Next Page">next page</div>
Passed Example 3
Full visible label is contained in the accessible name.
<button name="link" aria-label="Next Page in the list">Next Page</button>
Failed Example 1
Visible label doesn't match accessible name.
<div role="link" aria-label="OK">Next</div>
Failed Example 2
Not all of visible label is included in accessible name.
<button name="link" aria-label="the full">The full label</button>
Inapplicable Example 1
Not a widget role.
Inapplicable Example 2
Widget role that does not support name from content.
<input type="email" aria-label="E-mail" value="Contact" />
Inapplicable Example 3
Non-widget role that supports name from content.
<div role="tooltip" aria-label="OK">Next</div>
Inapplicable Example 4
No rendered text in name from content.
<div role="tooltip" aria-label="OK"></div>
Inapplicable Example 5
A conclusion that comes from evaluating an ACT Rule on a test subject or one of its constituent test target. An outcome can be one of the three following types:
- Inapplicable: No part of the test subject matches the applicability
- Passed: A test target meets all expectations
- Failed: A test target does not meet all expectations
Note: A rule has one
failed outcome for every test target. When there are no test targets the rule has one
inapplicable outcome. This means that each test subject will have one or more outcomes.
Note: Implementers using the EARL10-Schema can express the outcome with the outcome property. In addition to
inapplicable, EARL 1.0 also defined an
incomplete outcome. While this cannot be the outcome of an ACT Rule when applied in its entirety, it often happens that rules are only partially evaluated. For example, when applicability was automated, but the expectations have to be evaluated manually. Such "interim" results can be expressed with the