diff --git a/files/en-us/web/accessibility/aria/roles/alert_role/index.html b/files/en-us/web/accessibility/aria/roles/alert_role/index.html index 2bf1a89d7a9464a..e33c1fc61badc48 100644 --- a/files/en-us/web/accessibility/aria/roles/alert_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/alert_role/index.html @@ -8,7 +8,6 @@ - ARIA widget - Reference --- -
{{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

The alert role can be used to tell the user an element has been dynamically updated. Screen readers will instantly start reading out the updated content when the role is added. If the user is expected to close the alert, then the alertdialog role should be used instead.

@@ -71,3 +70,11 @@

See also

  • ARIA alert support - The Paciello Group
  • ARIA Live Regions
  • + + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/application_role/index.html b/files/en-us/web/accessibility/aria/roles/application_role/index.html index f05bb67c8d83e82..af8e2fe67fdbdc2 100644 --- a/files/en-us/web/accessibility/aria/roles/application_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/application_role/index.html @@ -8,8 +8,6 @@ - Reference - Role application --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    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.

    <div role="application">...</div>
    @@ -109,3 +107,9 @@ 

    Precedence order

    + + diff --git a/files/en-us/web/accessibility/aria/roles/aria_timer_role/index.html b/files/en-us/web/accessibility/aria/roles/aria_timer_role/index.html index d76243656e06790..2c0ad96ed9b71f3 100644 --- a/files/en-us/web/accessibility/aria/roles/aria_timer_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/aria_timer_role/index.html @@ -8,7 +8,7 @@ - Reference - Role Timer --- -

    {{draft}}{{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    +

    {{draft}}

    The timer role indicates to assistive technologies that an element is a numerical counter listing the amount of elapsed time from a starting point or the remaining time until an end point.

    @@ -113,3 +113,11 @@

    Specifications

    Precedence order

    Applying the timer role will cause this and all of the descendant elements of this element to be treated like XXX

    + + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/article_role/index.html b/files/en-us/web/accessibility/aria/roles/article_role/index.html index a3babfd171da66a..02cbe7b39f3a14a 100644 --- a/files/en-us/web/accessibility/aria/roles/article_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/article_role/index.html @@ -9,8 +9,6 @@ - Article role - Reference --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    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.

    <div role="article">
    @@ -114,5 +112,12 @@ 

    See also

  • feed role
  • section role
  • <article> element
  • -
  • RSS Article
  • +
  • {{Glossary("RSS")}}
  • + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/banner_role/index.html b/files/en-us/web/accessibility/aria/roles/banner_role/index.html index 1bb81ffcf34c228..65190cb46d4b28d 100644 --- a/files/en-us/web/accessibility/aria/roles/banner_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/banner_role/index.html @@ -92,3 +92,9 @@

    See also

  • HTML header element
  • WC3 Landmarks Example
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/button_role/index.html b/files/en-us/web/accessibility/aria/roles/button_role/index.html index 29c50c846706d7e..083f50ab9df4113 100644 --- a/files/en-us/web/accessibility/aria/roles/button_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/button_role/index.html @@ -278,3 +278,10 @@

    Additional resources

  • Official WAI-ARIA example code
  • ARIA menubutton role
  • + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/cell_role/index.html b/files/en-us/web/accessibility/aria/roles/cell_role/index.html index 56da95119acfc74..00aeb1d2456b2d7 100644 --- a/files/en-us/web/accessibility/aria/roles/cell_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/cell_role/index.html @@ -7,8 +7,6 @@ - cell - table --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    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.

    <div role="row">
    @@ -190,3 +188,9 @@ 

    See also

  • HTML table advanced features and accessibility
  • HTML table basics
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/checkbox_role/index.html b/files/en-us/web/accessibility/aria/roles/checkbox_role/index.html index ed0c9b72e65a9b6..320a9939fba34fa 100644 --- a/files/en-us/web/accessibility/aria/roles/checkbox_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/checkbox_role/index.html @@ -7,8 +7,6 @@ - NeedsContent - Role --- -

    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    -

    The checkbox role is used for checkable interactive controls. Elements containing role="checkbox" must also include the aria-checked attribute to expose the checkbox's state to assistive technology.

    <span role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk1-label">
    @@ -143,3 +141,10 @@ 

    See also

  • ARIA: switch role
  • ARIA: option role
  • + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/comment_role/index.html b/files/en-us/web/accessibility/aria/roles/comment_role/index.html index 50f84f34d74debc..b1fc2d9684b235c 100644 --- a/files/en-us/web/accessibility/aria/roles/comment_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/comment_role/index.html @@ -8,8 +8,6 @@ - Reference - annotations --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    The comment landmark role semantically denotes a comment/reaction to some content on the page, or to a previous comment.

    Examples

    @@ -84,3 +82,10 @@

    See also

    + + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/complementary_role/index.html b/files/en-us/web/accessibility/aria/roles/complementary_role/index.html index 65ad426814d52cc..460b972fc997ed0 100644 --- a/files/en-us/web/accessibility/aria/roles/complementary_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/complementary_role/index.html @@ -7,8 +7,6 @@ - Reference - role-complementary --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    The complementary landmark role 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 instead.

    <div role="complementary">
    @@ -114,3 +112,9 @@ 

    See also

  • Accessible Landmarks | scottohara.me
  • Aside Revisited | HTML5 Doctor
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/contentinfo_role/index.html b/files/en-us/web/accessibility/aria/roles/contentinfo_role/index.html index aad9863e1a5eef6..e363a05ad0d38c1 100644 --- a/files/en-us/web/accessibility/aria/roles/contentinfo_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/contentinfo_role/index.html @@ -7,8 +7,6 @@ - Reference - role-contentinfo --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    The contentinfo landmark role is used to identify information repeated at the end of every page of a website, including copyright information, navigation links, and privacy statements. This section is commonly called a footer.

    <div role="contentinfo">
    @@ -145,3 +143,9 @@ 

    See also

  • Accessible Landmarks | scottohara.me
  • The Footer Element Update | HTML5 Doctor
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/dialog_role/index.html b/files/en-us/web/accessibility/aria/roles/dialog_role/index.html index 9dddedecb273d2f..ec0ee67fe3c1658 100644 --- a/files/en-us/web/accessibility/aria/roles/dialog_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/dialog_role/index.html @@ -7,8 +7,6 @@ - NeedsContent - Web Development --- -

    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    -

    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).

    <div role="dialog" aria-labelledby="dialog1Title" aria-describedby="dialog1Desc">
    @@ -143,3 +141,10 @@ 

    See also

  • ARIA: alertdialog role
  • Using the alertdialog role
  • + + + diff --git a/files/en-us/web/accessibility/aria/roles/document_role/index.html b/files/en-us/web/accessibility/aria/roles/document_role/index.html index cfa9b22248b8e40..673713499cab5b5 100644 --- a/files/en-us/web/accessibility/aria/roles/document_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/document_role/index.html @@ -7,7 +7,6 @@ - Document - Reference --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    Generally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a reading mode: The document role tells assistive technologies with reading or browse modes to use the document mode to read the content contained within this element.

    <div role="dialog">
    @@ -20,7 +19,7 @@
     </div>
     
    -

    This example shows a dialog widget with some controls and a section with some informational text that the assistive technology user can read when tabbing to it.

    +

    This example shows a dialog widget with some controls and a section with some informational text that the assistive technology user can read when tabbing to it.

    Description

    @@ -88,3 +87,9 @@

    See also

  • ARIA:widget role 
  • ARIA: application role
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/feed_role/index.html b/files/en-us/web/accessibility/aria/roles/feed_role/index.html index 30e84a7f794e2c3..db541e7a4e4ee9c 100644 --- a/files/en-us/web/accessibility/aria/roles/feed_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/feed_role/index.html @@ -7,8 +7,6 @@ - Reference - feed --- -

    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    -

    A feed is a dynamic scrollable list of articles in which articles are added to or removed from either end of the list as the user scrolls. A feed enables screen readers to use the browse mode reading cursor to both read and scroll through a stream of rich content that may continue scrolling infinitely by loading more content as the user reads.

    <section role="feed" aria-busy="false">
    @@ -113,3 +111,9 @@ 

    See also

  • ARIA: list role
  • WAI-ARIA Authoring Practices - additional details on implementing a feed design pattern.
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/figure_role/index.html b/files/en-us/web/accessibility/aria/roles/figure_role/index.html index d0b5ea7ee39302e..f7c6eee9e9dd5f1 100644 --- a/files/en-us/web/accessibility/aria/roles/figure_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/figure_role/index.html @@ -10,8 +10,6 @@ - Role - figure --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    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.

    <div role="figure" aria-labelledby="caption">
    @@ -145,3 +143,9 @@ 

    See also

  • HTML <figure> element
  • HTML <figcaption> element
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/form_role/index.html b/files/en-us/web/accessibility/aria/roles/form_role/index.html index 8d58f9c3855a4ed..1d1e4f50d02ab34 100644 --- a/files/en-us/web/accessibility/aria/roles/form_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/form_role/index.html @@ -10,8 +10,6 @@ - Role - form --- -
    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    The form landmark role can be used to identify a group of elements on a page that provide equivalent functionality to an HTML form.

    <div role="form" id="contact-info" aria-label="Contact information">
    @@ -153,3 +151,9 @@ 

    See also

  • Accessible Landmarks | scottohara.me
  • Using WAI-ARIA Landmarks – 2013 | The Paciello Group
  • + + diff --git a/files/en-us/web/accessibility/aria/roles/grid_role/index.html b/files/en-us/web/accessibility/aria/roles/grid_role/index.html index dd315c26e1e1c2c..bd2e6e8f5752176 100644 --- a/files/en-us/web/accessibility/aria/roles/grid_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/grid_role/index.html @@ -5,8 +5,6 @@ - ARIA - HTML --- -

    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    -

    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.

    <table role="grid" aria-labelledby="id-select-your-seat">
    @@ -45,7 +43,7 @@ 

    Description

    A grid widget contains one or more rows with one or more cells of thematically related interactive content. While it does not imply a specific visual presentation, it implies a relationship among elements. Uses fall into two categories: presenting tabular information (data grids) and grouping other widgets (layout grids). Even though both data grids and layout grids employ the same ARIA roles, states, and properties, differences in their content and purpose surface factors that are important to consider in keyboard interaction design. See ARIA Authoring practices for more details

    -

    Cell elements have the role gridcell, unless they are a row or column header. Then the elements are rowheader and columnheader, respectively. Cell elements need to be owned by elements with a row role. Rows can be grouped using rowgroups.

    +

    Cell elements have the role gridcell, unless they are a row or column header. Then the elements are rowheader and columnheader, respectively. Cell elements need to be owned by elements with a row role. Rows can be grouped using rowgroups.

    If the grid is used as an interactive widget, keyboard interactions need to be implemented.

    @@ -54,7 +52,7 @@

    Associated ARIA roles, stat

    Roles

    -
    treegrid (subclass)
    +
    treegrid (subclass)
    If a grid has columns that can expanded or collapsed, a treegrid can be used.
    row
    A row inside the grid.
    @@ -687,16 +685,22 @@

    Screen reader support

    See also

    + + diff --git a/files/en-us/web/accessibility/aria/roles/gridcell_role/index.html b/files/en-us/web/accessibility/aria/roles/gridcell_role/index.html index fd802b654c9342c..8353b21616fa471 100644 --- a/files/en-us/web/accessibility/aria/roles/gridcell_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/gridcell_role/index.html @@ -5,8 +5,6 @@ - ARIA - HTML --- -

    {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}

    -

    The gridcell role is used to make a cell in a grid or treegrid. It is intended to mimic the functionality of the HTML td element for table-style grouping of information.

    <div role="gridcell">Potato</div>
    @@ -174,3 +172,9 @@ 

    See also

  • gridcell: Accessible Rich Internet Applications (WAI-ARIA) 1.1
  • Gridcell Role - Maxability
  • + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/heading_role/index.html b/files/en-us/web/accessibility/aria/roles/heading_role/index.html index 5b08b20fbb9793f..1d636e33369a620 100644 --- a/files/en-us/web/accessibility/aria/roles/heading_role/index.html +++ b/files/en-us/web/accessibility/aria/roles/heading_role/index.html @@ -7,8 +7,6 @@ - ARIA heading - Reference --- -
     {{Page("/en-US/docs/Web/Accessibility/ARIA/Roles", "Subnav")}}
    -

    The heading role defines this element as a heading to a page or section. To give the page more structure, a level should also be provided to indicate relationships between sections.

    <div role="heading" aria-level="1">This is a main page heading</div>
    @@ -112,3 +110,9 @@ 

    See also

    + + \ No newline at end of file diff --git a/files/en-us/web/accessibility/aria/roles/index.html b/files/en-us/web/accessibility/aria/roles/index.html index 9464791206355e2..be0f3bf4ead15f7 100644 --- a/files/en-us/web/accessibility/aria/roles/index.html +++ b/files/en-us/web/accessibility/aria/roles/index.html @@ -78,7 +78,6 @@ -