From ed9137ea10c357ca3a4372e7f96efba70e14f599 Mon Sep 17 00:00:00 2001 From: Valerie Young Date: Thu, 13 Sep 2018 12:29:32 -0400 Subject: [PATCH] Regression testing: Add data-test-id to example pages (pull #881) --- examples/grid/dataGrids.html | 38 ++++++++++----------- examples/listbox/listbox-collapsible.html | 32 ++++++++--------- examples/menu-button/menu-button-links.html | 34 +++++++++--------- examples/slider/slider-2.html | 32 ++++++++--------- examples/tabs/tabs-2/tabs.html | 2 +- 5 files changed, 69 insertions(+), 69 deletions(-) diff --git a/examples/grid/dataGrids.html b/examples/grid/dataGrids.html index ba0d07e62a..dd565cbfbc 100644 --- a/examples/grid/dataGrids.html +++ b/examples/grid/dataGrids.html @@ -531,7 +531,7 @@

Keyboard Support

key Function - + Right Arrow @@ -542,7 +542,7 @@

Keyboard Support

- + Left Arrow @@ -553,7 +553,7 @@

Keyboard Support

- + Down Arrow @@ -564,7 +564,7 @@

Keyboard Support

- + Up Arrow @@ -575,7 +575,7 @@

Keyboard Support

- + Page Down @@ -587,7 +587,7 @@

Keyboard Support

- + Page Up @@ -599,25 +599,25 @@

Keyboard Support

- + Home moves focus to the first cell in the row that contains focus. - + End moves focus to the last cell in the row that contains focus. - + Control + Home moves focus to the first cell in the first row. - + Control + End @@ -638,7 +638,7 @@

Role, Property, State, and Tabindex Attributes

- + grid @@ -663,7 +663,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-labelledby="ID_REF" @@ -673,7 +673,7 @@

Role, Property, State, and Tabindex Attributes

Refers to the heading element that labels the grid. - + aria-rowcount="16" @@ -696,7 +696,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-colcount="6" @@ -716,7 +716,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-rowindex="INDEX_VALUE" @@ -733,7 +733,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-sort="ascending" @@ -743,7 +743,7 @@

Role, Property, State, and Tabindex Attributes

In example 2, applied when a column is sorted in ascending order. - + aria-sort="descending" @@ -753,7 +753,7 @@

Role, Property, State, and Tabindex Attributes

In example 2, applied when a column is sorted in descending order. - + aria-sort="none" @@ -763,7 +763,7 @@

Role, Property, State, and Tabindex Attributes

In example 2, applied when a column is sortable but not sorted. - + aria-colindex="INDEX_VALUE" diff --git a/examples/listbox/listbox-collapsible.html b/examples/listbox/listbox-collapsible.html index 4129df45b4..94fe7911ef 100644 --- a/examples/listbox/listbox-collapsible.html +++ b/examples/listbox/listbox-collapsible.html @@ -122,7 +122,7 @@

Keyboard Support

- + Enter - + Escape If the listbox is displayed, collapses the listbox and moves focus to the button. - + Down Arrow - + Up Arrow - + Home If the listbox is displayed, moves focus to and selects the first option. - + End If the listbox is displayed, moves focus to and selects the last option. - + Printable Characters - + aria-haspopup="listbox" button Indicates that activating the button displays a listbox. - + aria-expanded="true" button @@ -220,19 +220,19 @@

Role, Property, State, and Tabindex Attributes

- + listbox ul Identifies the focusable element that has listbox behaviors and contains the listbox options. - + aria-labelledby="ID_REF" ul Refers to the element containing the listbox label. - + tabindex="-1" ul @@ -243,7 +243,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-activedescendant="ID_REF" ul @@ -260,13 +260,13 @@

Role, Property, State, and Tabindex Attributes

- + role="option" li Identifies each selectable element containing the name of an option. - + aria-selected="true" li diff --git a/examples/menu-button/menu-button-links.html b/examples/menu-button/menu-button-links.html index c2fb5d8b0d..6022d3e85f 100644 --- a/examples/menu-button/menu-button-links.html +++ b/examples/menu-button/menu-button-links.html @@ -118,11 +118,11 @@

Menu Button

- + Down Arrow
Space
Enter Opens menu and moves focus to first menuitem - + Up Arrow Opens menu and moves focus to last menuitem @@ -137,7 +137,7 @@

Menu

- + Enter - + Escape - + Up Arrow - + Down Arrow - + Home Moves focus to the first menu item. - + End Moves focus to the last menu item. - + A-Z
a-z - + aria-controls="IDREF" @@ -237,7 +237,7 @@

Menu Button

- + aria-expanded="true" button @@ -265,7 +265,7 @@

Menu

- + menu @@ -275,7 +275,7 @@

Menu

Identifies the ul element as a menu. - + @@ -290,7 +290,7 @@

Menu

- + none @@ -305,7 +305,7 @@

Menu

- + menuitem @@ -320,7 +320,7 @@

Menu

- + tabindex="-1" diff --git a/examples/slider/slider-2.html b/examples/slider/slider-2.html index 3f657ea4c6..b02e9942bc 100644 --- a/examples/slider/slider-2.html +++ b/examples/slider/slider-2.html @@ -91,49 +91,49 @@

Keyboard Support

- + Right Arrow Increases slider value one step. - + Up Arrow Increases slider value one step. - + Left Arrow Decreases slider value one step. - + Down Arrow Decreases slider value one step. - + Page Up Increases temperature slider value multiple steps. In this slider, jumps ten steps. - + Page Down Decreases temperature slider value multiple steps. In this slider, jumps ten steps. - + Home Sets slider to its minimum value. - + End @@ -155,7 +155,7 @@

Role, Property, State, and Tabindex Attributes

- + slider @@ -170,7 +170,7 @@

Role, Property, State, and Tabindex Attributes

- + tabindex=0 @@ -180,7 +180,7 @@

Role, Property, State, and Tabindex Attributes

Includes the slider thumb in the page tab sequence. - + aria-orientation @@ -196,7 +196,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-valuemax=NUMBER @@ -206,7 +206,7 @@

Role, Property, State, and Tabindex Attributes

Specifies a numeric value that is the maximum value the slider can have. - + aria-valuemin=NUMBER @@ -216,7 +216,7 @@

Role, Property, State, and Tabindex Attributes

Specifies a numeric value that is the minimum value the slider can have. - + aria-valuenow=NUMBER @@ -226,7 +226,7 @@

Role, Property, State, and Tabindex Attributes

A numeric value that is the current value of the slider. - + aria-valuetext=STRING @@ -242,7 +242,7 @@

Role, Property, State, and Tabindex Attributes

- + aria-labelledby=IDREF diff --git a/examples/tabs/tabs-2/tabs.html b/examples/tabs/tabs-2/tabs.html index 53c7d4c54e..d7ff7e01bb 100644 --- a/examples/tabs/tabs-2/tabs.html +++ b/examples/tabs/tabs-2/tabs.html @@ -91,7 +91,7 @@

Keyboard Support

- + Enter
Space When a tab has focus, activates the tab, causing its associated panel to be displayed.