Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Media Seek Slider Test Plan to V2 Test Format #1193

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions tests/seek-slider/data/assertions.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
assertionId,priority,assertionStatement,assertionPhrase,refIds
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},slider
maximumValue300IsNotConveyed,1,Maximum value '300' is not conveyed,maximum value '300' is not conveyed,aria-valuemax
minimumValue0IsNotConveyed,1,Minimum value '0' is not conveyed,minimum value '0' is not conveyed,aria-valuemin
nameSeek,1,Name 'Seek' is conveyed,convey name 'Seek',aria-labelledby
numericValue0IsNotConveyed,1,Numeric value '0' is not conveyed,numeric value '0' is not conveyed,aria-valuenow
numericValue105IsNotConveyed,1,Numeric value '105' is not conveyed,numeric value '105' is not conveyed,aria-valuenow
numericValue300IsNotConveyed,1,Numeric value '300' is not conveyed,numeric value '300' is not conveyed,aria-valuenow
numericValue75IsNotConveyed,1,Numeric value '75' is not conveyed,numeric value '75' is not conveyed,aria-valuenow
numericValue89IsNotConveyed,1,Numeric value '89' is not conveyed,numeric value '89' is not conveyed,aria-valuenow
numericValue90IsNotConveyed,1,Numeric value '90' is not conveyed,numeric value '90' is not conveyed,aria-valuenow
numericValue91IsNotConveyed,1,Numeric value '91' is not conveyed,numeric value '91' is not conveyed,aria-valuenow
orientationHorizontal,1,Orientation 'horizontal' is conveyed,convey orientation 'horizontal',aria-orientation
roleSlider,1,Role 'slider' is conveyed,convey role 'slider',slider
textualValue0Seconds,1,Textual value '0 Seconds' is conveyed,convey textual value '0 Seconds',aria-valuetext
textualValue1Minute15Seconds,1,Textual value '1 Minute 15 Seconds' is conveyed,convey textual value '1 Minute 15 Seconds',aria-valuetext
textualValue1Minute29Seconds,1,Textual value '1 Minute 29 Seconds' is conveyed,convey textual value '1 Minute 29 Seconds',aria-valuetext
textualValue1Minute30Seconds5Minutes,1,Textual value '1 Minute 30 Seconds of 5 Minutes' is conveyed,convey textual value '1 Minute 30 Seconds of 5 Minutes',aria-valuetext
textualValue1Minute31Seconds,1,Textual value '1 Minute 31 Seconds' is conveyed,convey textual value '1 Minute 31 Seconds',aria-valuetext
textualValue1Minute45Seconds,1,Textual value '1 Minute 45 Seconds' is conveyed,convey textual value '1 Minute 45 Seconds',aria-valuetext
textualValue5Minutes,1,Textual value '5 Minutes' is conveyed,convey textual value '5 Minutes',aria-valuetext
34 changes: 0 additions & 34 deletions tests/seek-slider/data/commands.csv

This file was deleted.

21 changes: 21 additions & 0 deletions tests/seek-slider/data/jaws-commands.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
testId,command,settings,assertionExceptions,presentationNumber
navForwardsToSlider,down down down,virtualCursor,,1.0
navForwardsToSlider,tab,virtualCursor,2:interactionModeEnabled,1.1
navForwardsToSlider,f,virtualCursor,,1.1
navForwardsToSlider,tab,pcCursor,,3.0
navBackToSlider,up up,virtualCursor,,2.0
navBackToSlider,shift+f,virtualCursor,,2.1
navBackToSlider,shift+tab,virtualCursor,2:interactionModeEnabled,2.2
navBackToSlider,shift+tab,pcCursor,,4.0
reqInfoAboutSlider,ins+tab,virtualCursor,,7.0
reqInfoAboutSlider,ins+up,virtualCursor,0:minimumValue0IsNotConveyed 0:maximumValue300IsNotConveyed,7.1
reqInfoAboutSlider,ins+tab,pcCursor,,8.0
reqInfoAboutSlider,ins+up,pcCursor,0:minimumValue0IsNotConveyed 0:maximumValue300IsNotConveyed,8.1
incrementSliderByOneStep,right,pcCursor,,10.0
incrementSliderByOneStep,up,pcCursor,,10.1
decrementSliderByOneStep,left,pcCursor,,12.0
decrementSliderByOneStep,down,pcCursor,,12.1
incrementSliderByFifteenSteps,pageUp,pcCursor,,14.0
decrementSliderByFifteenSteps,pageDown,pcCursor,,16.0
decrementSliderToMinimumValue,home,pcCursor,,18.0
incrementSliderToMaximumValue,end,pcCursor,,20.0
21 changes: 21 additions & 0 deletions tests/seek-slider/data/nvda-commands.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
testId,command,settings,assertionExceptions,presentationNumber
navForwardsToSlider,down down,browseMode,,1.0
navForwardsToSlider,f,browseMode,,1.1
navForwardsToSlider,tab,browseMode,2:interactionModeEnabled,1.2
navForwardsToSlider,tab,focusMode,,3.0
navBackToSlider,up up,browseMode,,2.0
navBackToSlider,shift+f,browseMode,,2.1
navBackToSlider,shift+tab,browseMode,2:interactionModeEnabled,2.2
navBackToSlider,shift+tab,focusMode,,4.0
reqInfoAboutSlider,ins+tab,browseMode,,7.0
reqInfoAboutSlider,ins+up,browseMode,0:minimumValue0IsNotConveyed 0:maximumValue300IsNotConveyed,7.1
reqInfoAboutSlider,ins+tab,focusMode,,8.0
reqInfoAboutSlider,ins+up,focusMode,0:minimumValue0IsNotConveyed 0:maximumValue300IsNotConveyed,8.1
incrementSliderByOneStep,right,focusMode,,10.0
incrementSliderByOneStep,up,focusMode,,10.1
decrementSliderByOneStep,left,focusMode,,12.0
decrementSliderByOneStep,down,focusMode,,12.1
incrementSliderByFifteenSteps,pageUp,focusMode,,14.0
decrementSliderByFifteenSteps,pageDown,focusMode,,16.0
decrementSliderToMinimumValue,home,focusMode,,18.0
incrementSliderToMaximumValue,end,focusMode,,20.0
32 changes: 16 additions & 16 deletions tests/seek-slider/data/references.csv
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
refId,value
author,Isabel Del Castillo
title,Media Seek Slider
authorEmail,isa.delcastillo5@gmail.com
reference,reference/2021-9-21_14461/slider-seek.html
designPattern,https://w3c.github.io/aria-practices/#slider
example,https://w3c.github.io/aria-practices/examples/slider/slider-seek.html
slider,https://w3c.github.io/aria/#slider
none,https://w3c.github.io/aria/#none
aria-labelledby,https://w3c.github.io/aria/#aria-labelledby
aria-orientation,https://w3c.github.io/aria/#aria-orientation
aria-valuenow,https://w3c.github.io/aria/#aria-valuenow
aria-valuemin,https://w3c.github.io/aria/#aria-valuemin
aria-valuemax,https://w3c.github.io/aria/#aria-valuemax
aria-valuetext,https://w3c.github.io/aria/#aria-valuetext
aria-hidden,https://w3c.github.io/aria/#aria-hidden
refId,type,value,linkText
author,metadata,Isabel Del Castillo,
title,metadata,Media Seek Slider,
authorEmail,metadata,isa.delcastillo5@gmail.com,
reference,metadata,reference/2021-9-21_14461/slider-seek.html,Test Case Page for Media Seek Slider
designPattern,metadata,https://www.w3.org/WAI/ARIA/apg/patterns/slider/,APG Pattern: Slider
example,metadata,https://www.w3.org/WAI/ARIA/apg/patterns/slider/examples/slider-seek/,APG Example: Media Seek Slider
slider,aria,slider,slider
none,aria,none,none
aria-labelledby,aria,aria-labelledby,aria-labelledby
aria-orientation,aria,aria-orientation,aria-orientation
aria-valuenow,aria,aria-valuenow,aria-valuenow
aria-valuemin,aria,aria-valuemin,aria-valuemin
aria-valuemax,aria,aria-valuemax,aria-valuemax
aria-valuetext,aria,aria-valuetext,aria-valuetext
aria-hidden,aria,aria-hidden,aria-hidden
4 changes: 4 additions & 0 deletions tests/seek-slider/data/scripts.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
setupScript,setupScriptDescription
setFocusAfterSlider,sets focus on a link after the slider
setFocusBeforeSlider,sets focus on a link before the slider
setFocusOnSlider,sets focus on the slider
Loading
Loading