Skip to content

Commit bac64bf

Browse files
authored
Menu button test plans: Change priority of assertion stateCollapsed from 1 to 2 (pull #1196)
In all 3 menu button test plans, change: "Must convey state of the button, 'collapsed'" to: "Should convey state of the button, 'collapsed'"
1 parent 6c36ce4 commit bac64bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/menu-button-actions-active-descendant/data/assertions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numberItemsMenu4,2,"Number of items in the menu,'(4', is conveyed","convey numbe
88
roleFocusedItemMenuItem,2,"Role of the focused item, 'menu item', is conveyed","convey role of the focused item, 'menu item'",menuitem
99
roleMenu,3,Role 'menu' is conveyed,convey role 'menu',menu
1010
roleMenuButton,1,Role 'menu button' is conveyed,convey role 'menu button',button aria-haspopup
11-
stateCollapsed,1,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
11+
stateCollapsed,2,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
1212
interactionModeEnabled,2,Screen reader switched from reading mode to interaction mode|{screenReader} switched from {readingMode} to {interactionMode},switch from reading mode to interaction mode|switch from {readingMode} to {interactionMode},
1313
positionFocusedItemMenu1,2,"Position of the focused item in the menu, '1', is conveyed","convey position of the focused item in the menu, '1'",aria-posinset aria-activedescendant
1414
positionFocusedItemMenu2,2,"Position of the focused item in the menu, '2', is conveyed","convey position of the focused item in the menu, '2'",aria-posinset aria-activedescendant

tests/menu-button-actions/data/assertions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numberItemsMenu4,2,"Number of items in the menu,'(4', is conveyed","convey numbe
88
roleFocusedItemMenuItem,2,"Role of the focused item, 'menu item', is conveyed","convey role of the focused item, 'menu item'",menuitem
99
roleMenu,3,Role 'menu' is conveyed,convey role 'menu',menu
1010
roleMenuButton,1,Role 'menu button' is conveyed,convey role 'menu button',button aria-haspopup
11-
stateCollapsed,1,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
11+
stateCollapsed,2,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
1212
interactionModeEnabled,2,Screen reader switched from reading mode to interaction mode|{screenReader} switched from {readingMode} to {interactionMode},switch from reading mode to interaction mode|switch from {readingMode} to {interactionMode},
1313
positionFocusedItemMenu1,2,"Position of the focused item in the menu, '1', is conveyed","convey position of the focused item in the menu, '1'",aria-posinset
1414
positionFocusedItemMenu2,2,"Position of the focused item in the menu, '2', is conveyed","convey position of the focused item in the menu, '2'",aria-posinset

tests/menu-button-navigation/data/assertions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numberItemsMenu6,2,"Number of items in the menu,'(6', is conveyed","convey numbe
88
roleFocusedItemMenuItem,2,"Role of the focused item, 'menu item', is conveyed","convey role of the focused item, 'menu item'",menuitem
99
roleMenu,3,Role 'menu' is conveyed,convey role 'menu',menu
1010
roleMenuButton,1,Role 'menu button' is conveyed,convey role 'menu button',button aria-haspopup
11-
stateCollapsed,1,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
11+
stateCollapsed,2,State 'collapsed' is conveyed,convey state 'collapsed',aria-expanded
1212
interactionModeEnabled,2,Screen reader switched from reading mode to interaction mode|{screenReader} switched from {readingMode} to {interactionMode},switch from reading mode to interaction mode|switch from {readingMode} to {interactionMode},
1313
positionFocusedItemMenu1,2,"Position of the focused item in the menu, '1', is conveyed","convey position of the focused item in the menu, '1'",aria-posinset
1414
positionFocusedItemMenu2,2,"Position of the focused item in the menu, '2', is conveyed","convey position of the focused item in the menu, '2'",aria-posinset

0 commit comments

Comments
 (0)