aria-at icon indicating copy to clipboard operation
aria-at copied to clipboard

Refactored Test plan for The Disclosure of Answers to Frequently Asked Questions Example

Open IsaDC opened this issue 8 months ago • 3 comments

Preview Tests

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: Introduced setupScripts to 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.
  • Update Screen Reader Commands: Updated JAWS, NVDA, and VoiceOver commands to reflect the modified test scope.

IsaDC avatar Apr 25 '25 02:04 IsaDC

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

mcking65 avatar May 05 '25 05:05 mcking65

@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

mcking65 avatar May 05 '25 05:05 mcking65

Thank you @mcking65 We can discuss all of this in today's meeting.

IsaDC avatar May 05 '25 14:05 IsaDC

@IsaDC , can we close this one? Isn't it replaced by #1241?

mcking65 avatar Aug 04 '25 15:08 mcking65

Close in favor of latest version.

IsaDC avatar Aug 04 '25 16:08 IsaDC