Refactored Test plan for The Disclosure of Answers to Frequently Asked Questions Example
Test Plan Updates:
- Update Tests 2 & 4: Modified Tests 2 and 4 to include interaction with the fourth disclosure button, aligning them with the testing approach used in the Disclosure Navigation example test plan for consistency.
- Add
setupScripts: IntroducedsetupScriptsto programmatically focus and expand the fourth disclosure button. - Add New Assertions:
- Included a new assertion to convey the description list (
dl) boundary. - Added an assertion to confirm that the name of the fourth disclosure button is conveyed.
- Included a new assertion to convey the description list (
- Update Screen Reader Commands: Updated JAWS, NVDA, and VoiceOver commands to reflect the modified test scope.
@IsaDC
Somehow there are 4859 files changed by this pull request. I think you might have committed a temp working directory or something like that. I can't get the files tab of this PR to function with that many files changed.
@IsaDC
I pushed commits with the following changes ...
Changed 'DescriptionListBoundary' to "listBoundary'
Made the assertion: "List boundary is conveyed".
The description list boundary is technically more correct. However, the ARIA mapping is actually "association list" and every screen reader is handling this differently. There has been discussion in ARIA about this mapping. No one seems to be happy with it.
I am not confident it would be a good idea to fail screen readers that simply call it a list. That is what NVDA and Narrator do. JAWS still calls it a "definition list". VoiceOver calls it a description list.
Open to further discussion about this change.
Updated references
- Change button reference to htmlAam type.
- Added a dd reference
- Added references to assertions.
Editorial changes to state assertions
For consistency with prior plans and editorial guidelines, changed parentheses to single quotes so assertions of the form:
Change in state (to expanded) is conveyed
are now:
Change in state to 'expanded' is conveyed
Thank you @mcking65 We can discuss all of this in today's meeting.
@IsaDC , can we close this one? Isn't it replaced by #1241?
Close in favor of latest version.