Skip to content

Commit

Permalink
Editorial: attribute rules consistency wording/linking
Browse files Browse the repository at this point in the history
consistent sentence phrasing / linking of `aria-*` attribute for
* `aria-checked`
* `aria-disabled`
* `aria-hidden`
* `aria-placeholder`
* `aria-valuemax`
* `aria-valuemin`
* `aria-readonly`
* `aria-required`

updates to `aria-colspan` and `aria-rowspan` will be part of another PR
  • Loading branch information
scottaohara committed Aug 4, 2021
1 parent b1b75b5 commit c9343ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2904,7 +2904,7 @@ <h3 id="docconformance-attr">
allowed the `checked` attribute in HTML.
</p>
<p>
Authors SHOULD NOT use the `aria-checked` attribute on any element where the <a data-cite="html/form-control-infrastructure.html#concept-fe-checked">checkedness</a> of the element can be in opposition to the current value of the <a data-cite="wai-aria-1.1#aria-checked">`aria-checked` attribute</a>.
Authors SHOULD NOT use the <a data-cite="wai-aria-1.1#aria-checked">`aria-checked`</a> attribute on any element where the <a data-cite="html/form-control-infrastructure.html#concept-fe-checked">checkedness</a> of the element can be in opposition to the current value of the `aria-checked` attribute.
</p>
<p>
Authors MAY use the `aria-checked` attribute on any other element with a WAI-ARIA role which allows the attribute.
Expand All @@ -2926,7 +2926,7 @@ <h3 id="docconformance-attr">
Use the `disabled` attribute on any element that is allowed the `disabled` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-disabled` attribute on any element that is allowed the `disabled` attribute in HTML, or any element with a WAI-ARIA role which allows the <a data-cite="wai-aria-1.1#aria-disabled">`aria-disabled` attribute</a>.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-disabled">`aria-disabled`</a> attribute on any element that is allowed the `disabled` attribute in HTML, or any element with a WAI-ARIA role which allows the `aria-disabled` attribute</a>.
</p>
<p>
Authors SHOULD NOT use `aria-disabled="true"` on any element which also has a `disabled` attribute.
Expand All @@ -2945,7 +2945,7 @@ <h3 id="docconformance-attr">
</td>
<td>
<p>
Authors MAY use the `aria-hidden` attribute on any HTML element that allows <a data-cite="wai-aria-1.1#global_states">global `aria-*` attributes</a>, with the following exception:
Authors MAY use the <a data-cite="wai-aria-1.1#aria-hidden">`aria-hidden`</a> attribute on any HTML element that allows <a data-cite="wai-aria-1.1#global_states">global `aria-*` attributes</a>, with the following exception:
</p>
<p>
Authors SHOULD NOT use the `aria-hidden="true"` attribute on any element which also has a `hidden` attribute.
Expand Down Expand Up @@ -2973,7 +2973,7 @@ <h3 id="docconformance-attr">
`placeholder` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-placeholder` attribute on any element that is allowed the `placeholder` attribute in HTML, or any element with a WAI-ARIA role which allows the <a data-cite="wai-aria-1.1#aria-placeholder">`aria-placeholder` attribute</a>.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-placeholder">`aria-placeholder`</a> attribute on any element that is allowed the `placeholder` attribute in HTML, or any element with a WAI-ARIA role which allows the `aria-placeholder` attribute.
</p>
<p>
Authors MUST NOT use the `aria-placeholder` attribute on any element which also has a `placeholder` attribute.
Expand All @@ -2993,13 +2993,13 @@ <h3 id="docconformance-attr">
allowed the `max` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-valuemax` attribute on any other element with a WAI-ARIA role which allows the attribute.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-valuemax">`aria-valuemax`</a> attribute on any other element with a WAI-ARIA role which allows the `aria-valuemax` attribute.
</p>
<p>
Authors SHOULD NOT use `aria-valuemax` on any element which allows the `max` attribute. Use the `max` attribute instead.
</p>
<p>
Authors MUST NOT use `aria-valuemax` on any element which also has a `max` attribute, even if the values of each attribute match.
Authors MUST NOT use `aria-valuemax` on any element which also has a `max` attribute.
</p>
</td>
</tr>
Expand All @@ -3016,13 +3016,13 @@ <h3 id="docconformance-attr">
allowed the `min` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-valuemin` attribute on any other element with a WAI-ARIA role which allows the attribute.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-valuemax">`aria-valuemin`</a> attribute on any other element with a WAI-ARIA role which allows the `aria-valuemin` attribute.
</p>
<p>
Authors SHOULD NOT use `aria-valuemin` on any element which allows the `min` attribute. Use the `min` attribute instead.
</p>
<p>
Authors MUST NOT use `aria-valuemin` on any element which also has a `min` attribute, even if the values of each attribute match.
Authors MUST NOT use `aria-valuemin` on any element which also has a `min` attribute.
</p>
</td>
</tr>
Expand All @@ -3040,7 +3040,7 @@ <h3 id="docconformance-attr">
allowed the `readonly` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-readonly` attribute on any element with a WAI-ARIA role which allows the <a data-cite="wai-aria-1.1#aria-readonly">`aria-readonly` attribute</a>.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-readonly">`aria-readonly`</a> attribute on any element with a WAI-ARIA role which allows the attribute</a>.
</p>
<p>
Authors SHOULD NOT use the `aria-readonly="true"` on any element which also has a `readonly` attribute.
Expand Down Expand Up @@ -3085,7 +3085,7 @@ <h3 id="docconformance-attr">
that is allowed the `required` attribute in HTML.
</p>
<p>
Authors MAY use the `aria-required` attribute on any element that is allowed the `required` attribute in HTML, or any element with a WAI-ARIA role which allows the <a data-cite="wai-aria-1.1#aria-required">`aria-required` attribute</a>.
Authors MAY use the <a data-cite="wai-aria-1.1#aria-required">`aria-required`</a> attribute on any element that is allowed the `required` attribute in HTML, or any element with a WAI-ARIA role which allows the `aria-required` attribute.
</p>
<p>
Authors SHOULD NOT use the `aria-required="true"` on any element which also has a `required` attribute.
Expand Down

0 comments on commit c9343ad

Please sign in to comment.