Skip to content

Commit

Permalink
Add spec URLs for web/accessibility subtree (mdn#13170)
Browse files Browse the repository at this point in the history
* Add spec URLs for web/accessibility subtree

Part of mdn#13126

* Add the Living version of ARIA Authoring Practices to SpecData.json

Otherwise, without this change, the spec-urls values being added for the
ARIA Authoring Practices guide get shown with “Unknown specification” in
output.
  • Loading branch information
sideshowbarker authored and hamishwillee committed May 23, 2022
1 parent e701c3e commit 0d7c369
Show file tree
Hide file tree
Showing 132 changed files with 366 additions and 465 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ tags:
- ARIA property
- aria-activedescendant
- NeedsExample
spec-urls:
- https://w3c.github.io/aria/#aria-activedescendant
- https://w3c.github.io/aria-practices/#kbd_focus_activedescendant
---

The `aria-activedescendant` attribute identifies the currently active element when focus is on a [`composite`](/en-US/docs/Web/Accessibility/ARIA/Roles/composite_role) widget, [`combobox`](/en-US/docs/Web/Accessibility/ARIA/Roles/combobox_role), [`textbox`](/en-US/docs/Web/Accessibility/ARIA/Roles/textbox_role), [`group`](/en-US/docs/Web/Accessibility/ARIA/Roles/group_role), or [`application`](/en-US/docs/Web/Accessibility/ARIA/Roles/application_role).
Expand Down Expand Up @@ -49,10 +52,7 @@ Relevant only as an attribute on elements with the following roles:

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-activedescendant","ARIA: aria-activedescendant Attribute")}} | {{Spec2('ARIA')}} |
| {{SpecName("ARIA Authoring Practices 1.2","#kbd_focus_activedescendant","managing focus with aria-activedescendant")}} | {{Spec2('ARIA Authoring Practices')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ARIA property
- aria-atomic
- NeedsExample
spec-urls: https://w3c.github.io/aria/#aria-atomic
---

In ARIA live regions, the global `aria-atomic` attribute indicates whether assistive technologies such as a screen reader will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-relevant) attribute.
Expand All @@ -33,9 +34,7 @@ Used in **ALL** [roles](/en-US/docs/Web/Accessibility/ARIA/Roles).

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-atomic","ARIA: aria-atomic Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ tags:
- searchbox
- listbox
- NeedsExample
spec-urls:
- https://w3c.github.io/aria/#aria-autocomplete,
- https://w3c.github.io/aria-practices/#combobox
---

The `aria-autocomplete` attribute indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a [`combobox`](/en-US/docs/Web/Accessibility/ARIA/Roles/combobox_role), [`searchbox`](/en-US/docs/Web/Accessibility/ARIA/Roles/searchbox_role), or [`textbox`](/en-US/docs/Web/Accessibility/ARIA/Roles/textbox_role) and specifies how predictions will be presented if they are made.
Expand Down Expand Up @@ -57,10 +60,7 @@ Used in roles:

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-autocomplete","ARIA: aria-autocomplete Attribute")}} | {{Spec2('ARIA')}} |
| {{SpecName("ARIA Authoring Practices 1.2", "#combobox", "using aria-autocomplete in a combobox")}} | {{Spec2('ARIA Authoring Practices')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-braillelabel
spec-urls: https://w3c.github.io/aria/#aria-braillelabel
---

The global `aria-braillelabel` property defines a string value that labels the current element, which is intended to be converted into Braille.
Expand Down Expand Up @@ -49,9 +50,7 @@ Used in **ALL** roles.

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-braillelabel","ARIA: aria-braillelabel Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-brailleroledescription
spec-urls: https://w3c.github.io/aria/#aria-brailleroledescription
---

The global `aria-brailleroledescription` attribute defines a human-readable, author-localized abbreviated description for the role of an element intended to be converted into Braille.
Expand Down Expand Up @@ -64,9 +65,7 @@ Used in **ALL** roles (except [`generic`](/en-US/docs/Web/Accessibility/ARIA/rol

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-brailleroledescription","ARIA: aria-brailleroledescription Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ tags:
- aria-busy
- aria live regions
- aria state
spec-urls:
- https://w3c.github.io/aria/#aria-busy
- https://w3c.github.io/aria-practices/#feed
---

Used in [ARIA live regions](/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions), the global `aria-busy` state indicates an element is being modified and that assistive technologies may want to wait until the changes are complete before informing the user about the update.
Expand Down Expand Up @@ -63,10 +66,7 @@ Used in **ALL** roles

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-busy","ARIA: aria-busy Attribute")}} | {{Spec2('ARIA')}} |
| {{SpecName("ARIA Authoring Practices 1.2","#feed","`aria-busy` within a `feed` role")}} | {{Spec2('ARIA Authoring Practices')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ tags:
- ARIA attribute
- ARIA property
- aria-checked
spec-urls:
- https://w3c.github.io/aria/#aria-checked
- https://w3c.github.io/aria-practices/#checkbox
---

The `aria-checked` attribute indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
Expand Down Expand Up @@ -71,10 +74,7 @@ myHTMLElement.ariaChecked = true;

## Specifications

| Specification | Status |
| ---------------- | ---------------- |
| {{SpecName("ARIA","#aria-checked","ARIA: aria-checked Attribute")}} | {{Spec2('ARIA')}} |
| {{SpecName("ARIA Authoring Practices 1.2","#checkbox","Checkbox role with `aria-checked`")}} | {{Spec2('ARIA Authoring Practices')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-colcount
spec-urls: https://w3c.github.io/aria/#aria-colcount
---

The `aria-colcount` attribute defines the total number of columns in a [`table`](/en-US/docs/Web/Accessibility/ARIA/Roles/Table_role), [`grid`](/en-US/docs/Web/Accessibility/ARIA/Roles/Grid_role), or [`treegrid`](/en-US/docs/Web/Accessibility/ARIA/Roles/Treegrid_role) when not all columns are present in the [DOM](/en-US/docs/Glossary/DOM).
Expand Down Expand Up @@ -85,9 +86,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-colcount","ARIA: aria-colcount Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ARIA property
- aria-colindex
- Reference
spec-urls: https://w3c.github.io/aria/#aria-colindex
---

The `aria-colindex` attribute defines an element's column index or position with respect to the total number of columns within a `table`, `grid`, or `treegrid`.
Expand Down Expand Up @@ -107,9 +108,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-colindex","ARIA: aria-colindex Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-colindextext
spec-urls: https://w3c.github.io/aria/#aria-colindextext
---

The `aria-colindextext` attribute defines a human readable text alternative of the numeric [`aria-colindex`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-colindex).
Expand Down Expand Up @@ -78,9 +79,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-colindextext","ARIA: aria-colindextext Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-colspan
spec-urls: https://w3c.github.io/aria/#aria-colspan
---

The `aria-colspan` attribute defines the number of columns spanned by a cell or gridcell within a [`table`](/en-US/docs/Web/Accessibility/ARIA/Roles/table_role), [`grid`](/en-US/docs/Web/Accessibility/ARIA/Roles/grid_role), or [`treegrid`](/en-US/docs/Web/Accessibility/ARIA/Roles/treegrid_role).
Expand Down Expand Up @@ -158,9 +159,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-colspan","ARIA: aria-colspan Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-controls
spec-urls: https://w3c.github.io/aria/#aria-controls
---

The global `aria-controls` property identifies the element (or elements) whose contents or presence are controlled by the element on which this attribute is set.
Expand Down Expand Up @@ -73,9 +74,7 @@ Used in **ALL** roles.

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-controls","ARIA: aria-controls Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-current
spec-urls: https://w3c.github.io/aria/#aria-current
---

A non-null `aria-current` state on an element indicates that this element represents the current item within a container or set of related elements.
Expand Down Expand Up @@ -93,9 +94,7 @@ Usable in all roles; except in for elements with the role of [`gridcell`](/en-US

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-current","ARIA: aria-current Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ tags:
- ARIA property
- aria-describedby
- Reference
spec-urls:
- https://w3c.github.io/aria/#aria-describedby
- https://w3c.github.io/aria-practices/#describing_with_aria-describedby
---

The global `aria-describedby` attribute identifies the element (or elements) that describes the element on which the attribute is set.
Expand Down Expand Up @@ -47,10 +50,7 @@ Used in **ALL** roles. Usable in all HTML elements as well.

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-describedby","ARIA: aria-describedby Attribute")}} | {{Spec2('ARIA')}} |
| {{SpecName("ARIA Authoring Practices 1.2","#describing_with_aria-describedby","describing with aria-describedby")}} | {{Spec2('ARIA Authoring Practices')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ARIA property
- aria-description
- Reference
spec-urls: https://w3c.github.io/aria/#aria-description
---

The global `aria-description` attribute defines a string value that describes or annotates the current element.
Expand Down Expand Up @@ -50,9 +51,7 @@ Used in **ALL** roles.

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-description","ARIA: aria-description Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tags:
- aria-details
- Reference
- longdesc
spec-urls: https://w3c.github.io/aria/#aria-details
---

The global `aria-details` attribute identifies the element (or elements) that provide additional information related to the object.
Expand Down Expand Up @@ -68,9 +69,7 @@ Used in **ALL** roles.

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-details","ARIA: aria-details Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ARIA property
- aria-disabled
- Reference
spec-urls: https://w3c.github.io/aria/#aria-disabled
---

The `aria-disabled` state indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
Expand Down Expand Up @@ -135,9 +136,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-disabled","ARIA: aria-disabled Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tags:
- aria-dropeffect
- drag and drop
- deprecated
spec-urls: https://w3c.github.io/aria/#aria-dropeffect
---

The global `aria-dropeffect` attribute indicates what functions may be performed when a dragged object is released on the drop target. {{deprecated_inline}}
Expand Down Expand Up @@ -54,9 +55,7 @@ Used in **ALL** roles.

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-dropeffect","ARIA: aria-dropeffect Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ARIA property
- aria-errormessage
- Reference
spec-urls: https://w3c.github.io/aria/#aria-errormessage
---

The `aria-errormessage` attribute on an object identifies the element that provides an error message for that object.
Expand Down Expand Up @@ -91,9 +92,7 @@ Inherits from roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-errormessage","ARIA: aria-errormessage Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- ARIA attribute
- ARIA property
- aria-expanded
spec-urls: https://w3c.github.io/aria/#aria-expanded
---

The `aria-expanded` attribute is set on an element to indicate if a control is expanded or collapsed, and whether or not its child elements are displayed or hidden.
Expand Down Expand Up @@ -109,9 +110,7 @@ Inherits into roles:

## Specifications

| Specification | Status |
| ------------- | ------ |
| {{SpecName("ARIA","#aria-expanded","ARIA: aria-expanded Attribute")}} | {{Spec2('ARIA')}} |
{{Specifications}}

## See Also

Expand Down
Loading

0 comments on commit 0d7c369

Please sign in to comment.