diff --git a/_rules/button-accessible-name-97a4e1.md b/_rules/button-non-empty-accessible-name-97a4e1.md similarity index 96% rename from _rules/button-accessible-name-97a4e1.md rename to _rules/button-non-empty-accessible-name-97a4e1.md index b66235dbf6f..d46c6e9c132 100755 --- a/_rules/button-accessible-name-97a4e1.md +++ b/_rules/button-non-empty-accessible-name-97a4e1.md @@ -1,9 +1,9 @@ --- id: 97a4e1 -name: Button has accessible name +name: Button has non-empty accessible name rule_type: atomic description: | - This rule checks that each `button` element has an accessible name. + This rule checks that each `button` element has a non-empty accessible name. accessibility_requirements: wcag20:4.1.2: # Name, Role, Value (A) forConformance: true @@ -32,8 +32,6 @@ Each target element has an [accessible name][] that is not empty (`""`). **Note:** `input` elements of type `submit` and `reset` can get their [accessible name][] from a [default text](https://www.w3.org/TR/html-aam/#input-type-button-input-type-submit-and-input-type-reset), as well as from a `value` or other attribute. -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions - The rule assumes that all buttons are [user interface components as defined by WCAG 2](https://www.w3.org/TR/WCAG21/#dfn-user-interface-components). diff --git a/_rules/explicit-SVG-image-has-name-7d6734.md b/_rules/explicit-SVG-image-non-empty-accessible-name-7d6734.md similarity index 96% rename from _rules/explicit-SVG-image-has-name-7d6734.md rename to _rules/explicit-SVG-image-non-empty-accessible-name-7d6734.md index 6c819649a1d..6eeda2d6ecf 100755 --- a/_rules/explicit-SVG-image-has-name-7d6734.md +++ b/_rules/explicit-SVG-image-non-empty-accessible-name-7d6734.md @@ -1,9 +1,9 @@ --- id: 7d6734 -name: '`svg` element with explicit role has accessible name' +name: '`svg` element with explicit role has non-empty accessible name' rule_type: atomic description: | - This rule checks that each SVG image element that is explicitly included in the accessibility tree has an accessible name. + This rule checks that each SVG image element that is explicitly included in the accessibility tree has a non-empty accessible name. accessibility_requirements: wcag20:1.1.1: # Non-Text Content (A) forConformance: true @@ -28,8 +28,6 @@ The rule applies to any element in the [SVG](https://www.w3.org/2000/svg) namesp Each target element has an [accessible name][] that is not empty. -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions This rule assumes that the presence of one of the roles outlined in the applicability indicates the authors intent to include the element in the accessibility tree and thus convey information to the user about that element. diff --git a/_rules/form-control-accessible-name-e086e5.md b/_rules/form-control-non-empty-accessible-name-e086e5.md similarity index 96% rename from _rules/form-control-accessible-name-e086e5.md rename to _rules/form-control-non-empty-accessible-name-e086e5.md index f38b03eb44d..556167abc8e 100755 --- a/_rules/form-control-accessible-name-e086e5.md +++ b/_rules/form-control-non-empty-accessible-name-e086e5.md @@ -1,9 +1,9 @@ --- id: e086e5 -name: Form control has accessible name +name: Form control has non-empty accessible name rule_type: atomic description: | - This rule checks that each form field element has an accessible name. + This rule checks that each form field element has a non-empty accessible name. accessibility_requirements: wcag20:4.1.2: # Name, Role, Value (A) forConformance: true @@ -35,8 +35,6 @@ This rule applies to any element that is [included in the accessibility tree](#i Each target element has an [accessible name][] that is not empty (`""`). -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions _There are currently no assumptions_ diff --git a/_rules/heading-accessible-name-ffd0e9.md b/_rules/heading-non-empty-accessible-name-ffd0e9.md similarity index 98% rename from _rules/heading-accessible-name-ffd0e9.md rename to _rules/heading-non-empty-accessible-name-ffd0e9.md index 4edc2854797..92807c8d3f0 100755 --- a/_rules/heading-accessible-name-ffd0e9.md +++ b/_rules/heading-non-empty-accessible-name-ffd0e9.md @@ -1,9 +1,9 @@ --- id: ffd0e9 -name: Heading has accessible name +name: Heading has accessible non-empty name rule_type: atomic description: | - This rule checks that each heading has an accessible name. + This rule checks that each heading has a non-empty accessible name. accessibility_requirements: wcag20:1.3.1: # Info and Relationships (A) forConformance: true diff --git a/_rules/iframe-accessible-name-cae760.md b/_rules/iframe-non-empty-accessible-name-cae760.md similarity index 95% rename from _rules/iframe-accessible-name-cae760.md rename to _rules/iframe-non-empty-accessible-name-cae760.md index e97e5d75603..880966f359f 100755 --- a/_rules/iframe-accessible-name-cae760.md +++ b/_rules/iframe-non-empty-accessible-name-cae760.md @@ -1,9 +1,9 @@ --- id: cae760 -name: '`iframe` element has accessible name' +name: '`iframe` element has non-empty accessible name' rule_type: atomic description: | - This rule checks that each `iframe` element has an accessible name. + This rule checks that each `iframe` element has a non-empty accessible name. accessibility_requirements: wcag20:4.1.2: # Name, Role, Value (A) forConformance: true @@ -29,8 +29,6 @@ The rule applies to `iframe` elements that are [included in the accessibility tr Each target element has an [accessible name][] that is not empty (`""`). -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions If an `iframe` is not perceived by the user as a single control, it does not qualify as a [user interface component][] under WCAG 2. In such a scenario, failing this rule would not fail [success criterion 4.1.2](https://www.w3.org/TR/WCAG21/#name-role-value). Unless the `iframe` is both removed from the accessibility tree and removed from [sequential focus navigation][], they usually are considered to be [user interface components][user interface component]. diff --git a/_rules/image-button-accessible-name-59796f.md b/_rules/image-button-non-empty-accessible-name-59796f.md similarity index 96% rename from _rules/image-button-accessible-name-59796f.md rename to _rules/image-button-non-empty-accessible-name-59796f.md index ea7baa325cb..53e50e996f6 100755 --- a/_rules/image-button-accessible-name-59796f.md +++ b/_rules/image-button-non-empty-accessible-name-59796f.md @@ -1,9 +1,9 @@ --- id: 59796f -name: Image button has accessible name +name: Image button has accessible non-empty name rule_type: atomic description: | - This rule checks that each image button element has an accessible name. + This rule checks that each image button element has a non-empty accessible name. accessibility_requirements: wcag20:1.1.1: # Non-Text Content (A) forConformance: true @@ -47,8 +47,6 @@ The rule applies to any HTML `input` element with a `type` attribute in the [`Im Each target element has an [accessible name][] that is not empty (`""`). -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions - This rule assumes that all image buttons are [user interface components as defined by WCAG 2](https://www.w3.org/TR/WCAG21/#dfn-user-interface-components). diff --git a/_rules/image-accessible-name-23a2a8.md b/_rules/image-non-empty-accessible-name-23a2a8.md similarity index 97% rename from _rules/image-accessible-name-23a2a8.md rename to _rules/image-non-empty-accessible-name-23a2a8.md index 0428fe00903..b422f6c2c0c 100755 --- a/_rules/image-accessible-name-23a2a8.md +++ b/_rules/image-non-empty-accessible-name-23a2a8.md @@ -1,9 +1,9 @@ --- id: 23a2a8 -name: Image has accessible name +name: Image has non-empty accessible name rule_type: atomic description: | - This rule checks that each image either has an accessible name or is marked up as decorative + This rule checks that each image either has a non-empty accessible name or is marked up as decorative accessibility_requirements: wcag20:1.1.1: # Non-Text Content forConformance: true @@ -42,8 +42,6 @@ The rule applies to HTML `img` elements and HTML elements with the [semantic rol Each target element has an [accessible name][] that is not empty (`""`), or has a [semantic role][] of `none` or `presentation`. -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions _There are currently no assumptions._ diff --git a/_rules/link-accessible-name-c487ae.md b/_rules/link-non-empty-accessible-name-c487ae.md similarity index 97% rename from _rules/link-accessible-name-c487ae.md rename to _rules/link-non-empty-accessible-name-c487ae.md index 53fa35b0fa6..8307cddb568 100755 --- a/_rules/link-accessible-name-c487ae.md +++ b/_rules/link-non-empty-accessible-name-c487ae.md @@ -1,9 +1,9 @@ --- id: c487ae -name: Link has accessible name +name: Link has non-empty accessible name rule_type: atomic description: | - This rule checks that each link has an accessible name. + This rule checks that each link has a non-empty accessible name. accessibility_requirements: wcag20:4.1.2: # Name, Role, Value (A) forConformance: true @@ -47,8 +47,6 @@ The rule applies to any HTML element with the [semantic role](#semantic-role) of Each target element has an [accessible name][] that is not empty (`""`). -**Note:** Testing that the [accessible name][] describes the purpose of the element is not part of this rule and must be tested separately. - ## Assumptions The rule assumes that all links are [user interface components](https://www.w3.org/TR/WCAG21/#dfn-user-interface-components) as defined by WCAG 2. When the link role is used on elements that do not behave as links, failing this rule might not mean that the success criteria are failed.