diff --git a/index.html b/index.html index 044c82f5..264bf8c2 100644 --- a/index.html +++ b/index.html @@ -2539,11 +2539,19 @@

[^tbody^] - role=rowgroup +

+ If the ancestor `table` element is exposed as a `role=table`, `grid` or `treegrid` then: + `role=rowgroup` +

+

+ If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role. +

- Any `role` + No `role` if the ancestor `table` + element has `role=table`, `grid`, or `treegrid`; otherwise + any `role`.

Global `aria-*` attributes and @@ -2585,11 +2593,19 @@

[^tfoot^] - role=rowgroup +

+ If the ancestor `table` element is exposed as a `role=table`, `grid` or `treegrid` then: + `role=rowgroup` +

+

+ If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role. +

- Any `role` + No `role` if the ancestor `table` + element has `role=table`, `grid`, or `treegrid`; otherwise + any `role`.

Global `aria-*` attributes and @@ -2603,11 +2619,19 @@

[^thead^] - role=rowgroup +

+ If the ancestor `table` element is exposed as a `role=table`, `grid` or `treegrid` then: + `role=rowgroup` +

+

+ If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role. +

- Any `role` + No `role` if the ancestor `table` + element has `role=table`, `grid`, or `treegrid`; otherwise + any `role`.

Global `aria-*` attributes and @@ -2651,12 +2675,13 @@

- role=cell if the ancestor - `table` element is exposed as a `role=table`. + If the ancestor `table` element is exposed as a `role=table` then: role=cell. +

+

+ If the ancestor `table` element is exposed as a `role=grid` or `treegrid` then: role=gridcell.

- role=gridcell if the ancestor - `table` element is exposed as a `role=grid` or `treegrid`. + If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role.

@@ -2678,20 +2703,21 @@

- If the ancestor `table` element is exposed as a `role=table`: role=columnheader, - `rowheader` or `cell` according to - HTML AAM. -

+ If the ancestor `table` element is exposed as a `role=table` then: role=columnheader, + `rowheader` or `cell`. +

- If the ancestor `table` element is exposed as a `role=grid` or `treegrid`: role=columnheader, - `rowheader` or `gridcell` according to - HTML AAM. -

+ If the ancestor `table` element is exposed as a `role=grid` or `treegrid` then: role=columnheader, + `rowheader` or `gridcell`. +

+

+ If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role. +

No `role` if the ancestor `table` - element has `role=table`, `grid`, or `treegrid`; otherwise + element is exposed as a `role=table`, `grid`, or `treegrid`; otherwise any `role`.

@@ -2706,7 +2732,13 @@

[^tr^] - `role=row` +

+ If the ancestor `table` element is exposed as a `role=table`, `grid` or `treegrid` then: + `role=row` +

+

+ If the ancestor `table` element is not exposed as a `role=table`, `grid` or `treegrid` then: no corresponding role. +

@@ -2894,7 +2926,11 @@

Document conformance requirements for use of ARIA attributes with HTML attributes

- Unless otherwise stated, authors MAY use `aria-*` attributes in place of their HTML equivalents on HTML elements where the `aria-*` semantics would be expected. For example, authors MAY use `aria-disabled=true` on a `button` rather than the `disabled` attribute. However, authors SHOULD NOT use both the native HTML attribute and the `aria-*` attribute together. As stated in WAI-ARIA's Conflicts with Host Language Semantics, user agents MUST ignore WAI-ARIA attributes and use the host language (HTML) attribute with the same implicit ARIA semantics. + Unless otherwise stated, authors MAY use `aria-*` attributes in place of their HTML equivalents on HTML elements where + the `aria-*` semantics would be expected. For example, authors MAY use `aria-disabled=true` on a `button` rather than the + `disabled` attribute. However, authors SHOULD NOT use both the native HTML attribute and the `aria-*` attribute together. + As stated in WAI-ARIA's Conflicts with Host Language Semantics, + user agents MUST ignore WAI-ARIA attributes and use the host language (HTML) attribute with the same implicit ARIA semantics.

The following table represents HTML elements and their attributes which have `aria-*` attribute parity. @@ -2902,7 +2938,8 @@

Each language feature (element and attribute) in a cell in the first column implies the ARIA semantics (states, and properties) given in the cell in the second column - of the same row. The third cell in each row defines how authors can use the native HTML feature, along with requirements for using the `aria-*` attributes that supply the same implicit ARIA semantics. + of the same row. The third cell in each row defines how authors can use the native HTML feature, along with requirements for + using the `aria-*` attributes that supply the same implicit ARIA semantics.

@@ -3004,7 +3041,8 @@

`placeholder` attribute in HTML.

- 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 `aria-placeholder` attribute. + 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 `aria-placeholder` attribute.

Authors MUST NOT use the `aria-placeholder` attribute on any element which also has a `placeholder` attribute. @@ -3022,7 +3060,8 @@

Use the `max` attribute on any element that is - allowed the `max` attribute in HTML. It is NOT RECOMMENDED to use the `aria-valuemax` attribute on these elements. + allowed the `max` attribute in HTML. + It is NOT RECOMMENDED to use the `aria-valuemax` attribute on these elements.

Authors MAY use the `aria-valuemax` attribute on any other element with a WAI-ARIA role which allows the attribute.