Skip to content

Commit

Permalink
Use YAML arrays for multi-URL spec-urls values
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Feb 24, 2022
1 parent 9ba36fc commit 95ddae5
Show file tree
Hide file tree
Showing 50 changed files with 150 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +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
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ tags:
- searchbox
- listbox
- NeedsExample
spec-urls: >-
https://w3c.github.io/aria/#aria-autocomplete,
https://w3c.github.io/aria-practices/##combobox
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +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
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +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
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +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
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- ARIA attribute
- ARIA property
- aria-keyshortcuts
spec-urls: >-
https://w3c.github.io/aria/#aria-keyshortcuts,
https://w3c.github.io/aria-practices/#kbd_shortcuts
spec-urls:
- https://w3c.github.io/aria/#aria-keyshortcuts
- https://w3c.github.io/aria-practices/#kbd_shortcuts
---

The global `aria-keyshortcuts` attribute indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/accessibility/aria/roles/alert_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ tags:
- ARIA alert
- ARIA widget
- Reference
spec-urls: https://w3c.github.io/aria/#alert, https://w3c.github.io/aria-practices/#log
spec-urls:
- https://w3c.github.io/aria/#alert
- https://w3c.github.io/aria-practices/#log
---

The `alert` role is for important, and usually time-sensitive, information. The `alert` is a type of [`status`](/en-US/docs/Web/Accessibility/ARIA/Roles/status_role) processed as an atomic live region.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tags:
- roles
- Reference
- ARIA roles
spec-urls: >-
https://w3c.github.io/aria/#alertdialog,
https://w3c.github.io/aria-practices/#alertdialog
spec-urls:
- https://w3c.github.io/aria/#alertdialog
- https://w3c.github.io/aria-practices/#alertdialog
---

The **alertdialog** role is to be used on modal alert dialogs that interrupt a user's workflow to communicate an important message and require a response.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- Role application
- document structure role
spec-urls: >-
https://w3c.github.io/aria/#application,
https://w3c.github.io/aria-practices/#application
spec-urls:
- https://w3c.github.io/aria/#application
- https://w3c.github.io/aria-practices/#application
---
The `application` role indicates to assistive technologies that an element _and all of its children_ should be treated similar to a desktop application, and no traditional HTML interpretation techniques should be used. This role should only be used to define very dynamic and desktop-like web applications. Most mobile and desktop web apps _are not_ considered applications for this purpose.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tags:
- Article role
- document structure role
- Reference
spec-urls: >-
https://w3c.github.io/aria/#article,
https://w3c.github.io/aria-practices/#feed
spec-urls:
- https://w3c.github.io/aria/#article
- https://w3c.github.io/aria-practices/#feed
---

The `article` role indicates a section of a page that could easily stand on its own on a page, in a document, or on a website. It is usually set on related content items such as comments, forum posts, newspaper articles or other items grouped together on one page.
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/banner_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ tags:
- ARIA role
- Accessibility
- Reference
spec-urls: >-
https://w3c.github.io/aria/#banner,
https://w3c.github.io/aria-practices/#aria_lh_banner
spec-urls:
- https://w3c.github.io/aria/#banner
- https://w3c.github.io/aria-practices/#aria_lh_banner
---

The `banner` role is for defining a global site header, which usually includes a logo, company name, search icon, and possibly a slogan, generally at the top of the page.
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/button_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Accessibility
- Button Role
- Reference
spec-urls: >-
https://w3c.github.io/aria/#button,
https://w3c.github.io/aria-practices/#button
spec-urls:
- https://w3c.github.io/aria/#button
- https://w3c.github.io/aria-practices/#button
---

The `button` role is for clickable elements that trigger a response when activated by the user. Adding `role="button"` tells the screen reader the element is a button, but provides no button functionality. Use {{HTMLElement("button")}} or {{HTMLElement("input")}} with `type="button"` instead.
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/accessibility/aria/roles/cell_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ tags:
- cell role
- Reference
- document structure role
spec-urls: https://w3c.github.io/aria/#cell, https://w3c.github.io/aria-practices/#cell
spec-urls:
- https://w3c.github.io/aria/#cell
- https://w3c.github.io/aria-practices/#cell
---
The `cell` value of the ARIA _role_ attribute identifies an element as being a cell in a tabular container that does not contain column or row header information. To be supported, the cell must be nested in an element with the role of `row`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- ARIA roles
- document structure role
spec-urls: >-
https://w3c.github.io/aria/#columnheader,
https://w3c.github.io/aria-practices/#table
spec-urls:
- https://w3c.github.io/aria/#columnheader
- https://w3c.github.io/aria-practices/#table
---


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tags:
- ARIA roles
- composite widget role
- NeedsContent
spec-urls: >-
https://w3c.github.io/aria/#combobox,
https://w3c.github.io/aria-practices/#aria_lh_combobox_role
spec-urls:
- https://w3c.github.io/aria/#combobox
- https://w3c.github.io/aria-practices/#aria_lh_combobox_role
---

{{draft}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- Reference
- complementary role
- Accessibility
spec-urls: >-
https://w3c.github.io/aria/#complementary,
https://w3c.github.io/aria-practices/#aria_lh_complementary
spec-urls:
- https://w3c.github.io/aria/#complementary
- https://w3c.github.io/aria-practices/#aria_lh_complementary
---
The `complementary` [landmark role](/en-US/docs/Web/Accessibility/ARIA/Roles#Landmark_roles) is used to designate a supporting section that relates to the main content, yet can stand alone when separated. These sections are frequently presented as sidebars or call-out boxes. If possible, use the [HTML \<aside> element](/en-US/docs/Web/HTML/Element/aside) instead.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- Reference
- contentinfo role
- Accessibility
spec-urls: >-
https://w3c.github.io/aria/#contentinfo,
https://w3c.github.io/aria-practices/#aria_lh_contentinfo
spec-urls:
- https://w3c.github.io/aria/#contentinfo
- https://w3c.github.io/aria-practices/#aria_lh_contentinfo
---
The `contentinfo` role defines a footer, containing identifying information such as copyright information, navigation links, and privacy statements, found on every document within a site. This section is commonly called a footer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- ARIA roles
- document structure role
spec-urls: >-
https://w3c.github.io/aria/#definition,
https://w3c.github.io/aria-practices/#aria_lh_definition_role
spec-urls:
- https://w3c.github.io/aria/#definition
- https://w3c.github.io/aria-practices/#aria_lh_definition_role
---

The `definition` ARIA role indicates the element is a definition of a term or concept.
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/dialog_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- ARIA dialog
- Reference
- Web Development
spec-urls: >-
https://w3c.github.io/aria/#dialog,
https://w3c.github.io/aria-practices/#dialog_modal
spec-urls:
- https://w3c.github.io/aria/#dialog
- https://w3c.github.io/aria-practices/#dialog_modal
---
The `dialog` role is used to mark up an HTML based application dialog or window that separates content or UI from the rest of the web application or page. Dialogs are generally placed on top of the rest of the page content using an overlay. Dialogs can be either non-modal (it's still possible to interact with content outside of the dialog) or modal (only the content in the dialog can be interacted with).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tags:
- ARIA roles
- document structure role
- deprecated
spec-urls: >-
https://w3c.github.io/aria/#directory,
https://w3c.github.io/aria-practices/#aria_lh_directory_role
spec-urls:
- https://w3c.github.io/aria/#directory
- https://w3c.github.io/aria-practices/#aria_lh_directory_role
---

The `directory` role was for a list of references to members of a group, such as a static table of contents.
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/figure_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ tags:
- Role
- document structure role
- figure
spec-urls: >-
https://w3c.github.io/aria/#figure,
https://w3c.github.io/aria-practices/#describing_with_captions
spec-urls:
- https://w3c.github.io/aria/#figure
- https://w3c.github.io/aria-practices/#describing_with_captions
---
The ARIA `figure` role can be used to identify a figure inside page content where appropriate semantics do not already exist. A figure is generally considered to be one or more images, code snippets, or other content that puts across information in a different way to a regular flow of text.

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/accessibility/aria/roles/form_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ tags:
- Reference
- Role
- form
spec-urls: https://w3c.github.io/aria/#form, https://w3c.github.io/aria-practices/#form
spec-urls:
- https://w3c.github.io/aria/#form
- https://w3c.github.io/aria-practices/#form
---
The `form` role can be used to identify a group of elements on a page that provide equivalent functionality to an HTML form.

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/accessibility/aria/roles/grid_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ tags:
- grid role
- composite widget role
- NeedsContent
spec-urls: https://w3c.github.io/aria/#grid, https://w3c.github.io/aria-practices/#grid
spec-urls:
- https://w3c.github.io/aria/#grid
- https://w3c.github.io/aria-practices/#grid
---
The grid role is for a widget that contains one or more rows of cells. The position of each cell is significant and can be focused using keyboard input.

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/group_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- ARIA roles
- document structure role
spec-urls: >-
https://w3c.github.io/aria/#group,
https://w3c.github.io/aria-practices/#aria_lh_group_role
spec-urls:
- https://w3c.github.io/aria/#group
- https://w3c.github.io/aria-practices/#aria_lh_group_role
---

The `group` role identifies a set of user interface objects that is not intended to be included in a page summary or table of contents by assistive technologies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- ARIA heading
- document structure role
- Reference
spec-urls: >-
https://w3c.github.io/aria/#heading,
https://w3c.github.io/aria-practices/#heading
spec-urls:
- https://w3c.github.io/aria/#heading
- https://w3c.github.io/aria-practices/#heading
---
The `heading` role defines this element as a heading to a page or section, with the [`aria-level`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-level) attribute providing for more structure.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ tags:
- listbox role
- composite widget role
- NeedsContent
spec-urls: >-
https://w3c.github.io/aria/#listbox,
https://w3c.github.io/aria-practices/#Listbox
spec-urls:
- https://w3c.github.io/aria/#listbox
- https://w3c.github.io/aria-practices/#Listbox
---
The `listbox` role is used for lists from which a user may select one or more items which are static and, unlike HTML {{HTMLElement('select')}} elements, may contain images.

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/main_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Accessibility
- main role
- landmark role
spec-urls: >-
https://w3c.github.io/aria/#main,
https://w3c.github.io/aria-practices/#aria_lh_main
spec-urls:
- https://w3c.github.io/aria/#main
- https://w3c.github.io/aria-practices/#aria_lh_main
---
The `main` landmark role is used to indicate the primary content of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the main function of an application.

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/accessibility/aria/roles/math_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- ARIA roles
- document structure role
spec-urls: >-
https://w3c.github.io/aria/#math,
https://w3c.github.io/aria-practices/#aria_lh_math_role
spec-urls:
- https://w3c.github.io/aria/#math
- https://w3c.github.io/aria-practices/#aria_lh_math_role
---

The `math` role indicates that the content represents a mathematical expression.
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/accessibility/aria/roles/menu_role/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ tags:
- Menu role
- composite widget role
- NeedsContent
spec-urls: https://w3c.github.io/aria/#menu, https://w3c.github.io/aria-practices/#menu
spec-urls:
- https://w3c.github.io/aria/#menu
- https://w3c.github.io/aria-practices/#menu
---
{{draft}}
<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ tags:
- menubar role
- composite widget role
- NeedsContent
spec-urls: >-
https://w3c.github.io/aria/#menubar,
https://w3c.github.io/aria-practices/#menu
spec-urls:
- https://w3c.github.io/aria/#menubar
- https://w3c.github.io/aria-practices/#menu
---
{{draft}}
<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- Reference
- ARIA roles
- NeedsContent
spec-urls: >-
https://w3c.github.io/aria/#menuitem,
https://w3c.github.io/aria-practices/#menu
spec-urls:
- https://w3c.github.io/aria/#menuitem
- https://w3c.github.io/aria-practices/#menu
---
{{draft}}
<!--
Expand Down
Loading

0 comments on commit 95ddae5

Please sign in to comment.