Skip to content

Commit 3dda0d1

Browse files
authored
Disclosure of Frequently Asked Questions: Correct inaccurate ARIA/HTML feature references, revise test 9 assertions and commands
* Disclosure of Frequently Asked Questions: Correct inaccurate refIds in assertions.csv * Remove 'button' reference from assertions related to aria-expanded. * Update assertions and references: Modify textAnswer1 assertion for test 9; replace HTML `p` with ARIA `generic` in references.csv * Change from paragraph to next item/line commands for navigating from expanded disclosure to text question answer for JAWS, NVDA, and VoiceOver.
1 parent d465305 commit 3dda0d1

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

tests/disclosure-faq/data/assertions.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ listBoundary,3,List boundary is conveyed,convey list boundary,ul
33
nameQ1,1,"Name, 'What do I do if I have a permit for an assigned lot, but can't find a space there?', is conveyed","convey name of the button, 'What do I do if I have a permit for an assigned lot, but cant find a space there'",button
44
nameQ4,1,"Name, 'Do all parking facilities have the same enforcement rules?', is conveyed","convey name of the button, 'Do all parking facilities have the same enforcement rules'",button
55
roleButton,1,Role 'button' is conveyed,convey role 'button',button
6-
stateButtonCollapsed,1,"State of the button, 'collapsed', is conveyed",convey state of the button 'collapsed',aria-expanded button
7-
stateButtonExpanded,1,"State of the button, 'expanded', is conveyed",convey state of the button 'expanded',aria-expanded button
8-
stateChangeToCollapsed,1,Change in state to 'collapsed' is conveyed,convey change in state to 'collapsed',aria-expanded button
9-
stateChangeToExpanded,1,Change in state to 'expanded' is conveyed,convey change in state to 'expanded',aria-expanded button
10-
textAnswer1,1,"Text of the answer, 'Park at the nearest available parking meter without paying the meter and call 999-999-9999 to report the problem. We will note and approve your alternate location and will investigate the cause of the shortage in your assigned facility.', is conveyed","convey text of the answer, 'Park at the nearest available parking meter without paying the meter and call 999-999-9999 to report the problem. We will note and approve your alternate location and will investigate the cause of the shortage in your assigned facility.'",p
6+
stateButtonCollapsed,1,"State of the button, 'collapsed', is conveyed",convey state of the button 'collapsed',aria-expanded
7+
stateButtonExpanded,1,"State of the button, 'expanded', is conveyed",convey state of the button 'expanded',aria-expanded
8+
stateChangeToCollapsed,1,Change in state to 'collapsed' is conveyed,convey change in state to 'collapsed',aria-expanded
9+
stateChangeToExpanded,1,Change in state to 'expanded' is conveyed,convey change in state to 'expanded',aria-expanded
10+
textAnswer1,1,"Some or all the answer text, 'Park at the nearest available parking meter without paying the meter and call 999-999-9999 to report the problem. We will note and approve your alternate location and will investigate the cause of the shortage in your assigned facility.', is conveyed","convey some or all the answer text, 'Park at the nearest available parking meter without paying the meter and call 999-999-9999 to report the problem. We will note and approve your alternate location and will investigate the cause of the shortage in your assigned facility.'",generic

tests/disclosure-faq/data/jaws-commands.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ operateExpandedDisclosureButton,space,virtualCursor,,22
3434
operateExpandedDisclosureButton,enter,virtualCursor,,22.1
3535
operateExpandedDisclosureButton,space,pcCursor,,23
3636
operateExpandedDisclosureButton,enter,pcCursor,,23.1
37-
navFromExpandedDisclosureButtonToTextQuestionAnswer,ctrl+down,virtualCursor,,25
38-
navFromExpandedDisclosureButtonToTextQuestionAnswer,p,virtualCursor,,25.1
37+
navFromExpandedDisclosureButtonToTextQuestionAnswer,down,virtualCursor,,25

tests/disclosure-faq/data/nvda-commands.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ operateExpandedDisclosureButton,space,browseMode,,22
3434
operateExpandedDisclosureButton,enter,browseMode,,22.1
3535
operateExpandedDisclosureButton,space,focusMode,,23
3636
operateExpandedDisclosureButton,enter,focusMode,,23.1
37-
navFromExpandedDisclosureButtonToTextQuestionAnswer,ctrl+down,browseMode,,25
38-
navFromExpandedDisclosureButtonToTextQuestionAnswer,p,browseMode,,25.1
37+
navFromExpandedDisclosureButtonToTextQuestionAnswer,down,browseMode,,25

tests/disclosure-faq/data/references.csv

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ designPattern,metadata,https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/,APG
77
example,metadata,https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-faq/,APG Example: Disclosure (Show/Hide) for Answers to Frequently Asked Questions
88
aria-expanded,aria,aria-expanded,aria-expanded
99
button,htmlAam,button,button
10-
dd,htmlAam,dd,dd
11-
dl,htmlAam,dl,dl
12-
p,htmlAam,p,p
10+
generic,aria,generic,generic
1311
ul,htmlAam,ul,ul

tests/disclosure-faq/data/voiceover_macos-commands.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ operateExpandedDisclosureButton,ctrl+opt+space,,,24
2626
operateExpandedDisclosureButton,space,,,24.1
2727
operateExpandedDisclosureButton,enter,,,24.2
2828
navFromExpandedDisclosureButtonToTextQuestionAnswer,ctrl+opt+right,,,26
29-
navFromExpandedDisclosureButtonToTextQuestionAnswer,p,quickNavOn,,26.1

0 commit comments

Comments
 (0)