diff --git a/.github/workflows/generate-and-commit-files.yml b/.github/workflows/generate-and-commit-files.yml index e99397d64..840fe858b 100644 --- a/.github/workflows/generate-and-commit-files.yml +++ b/.github/workflows/generate-and-commit-files.yml @@ -9,7 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 with: - ref: ${{ github.head_ref }} + fetch-depth: 0 + ref: refs/pull/${{ github.event.pull_request.number }}/head + # ref: ${{ github.head_ref }} + # ref: ${{github.event.pull_request.head.ref}} - name: Use Node.js uses: actions/setup-node@v1 @@ -19,12 +22,6 @@ jobs: - name: Install dependencies run: npm ci - # - name: Generate test files - # run: npm run create-all-tests - - # - name: Generate review files - # run: npm run review-tests - - name: Generate test and review files run: npm run build @@ -38,7 +35,10 @@ jobs: steps: - uses: actions/checkout@v2 with: - ref: ${{ github.head_ref }} + fetch-depth: 0 + ref: refs/pull/${{ github.event.pull_request.number }}/head + # ref: ${{ github.head_ref }} + # ref: ${{github.event.pull_request.head.ref}} - name: Use Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/update-pr.yml b/.github/workflows/update-pr.yml index 91a945610..c406d3800 100644 --- a/.github/workflows/update-pr.yml +++ b/.github/workflows/update-pr.yml @@ -11,6 +11,6 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" head-branch-regex: '.*' title-template: '' - body-template: '[Preview Tests](https://raw.githack.com/w3c/aria-at/%headbranch%/build/index.html)' + body-template: '[Preview Tests](https://raw.githack.com/howard-e/aria-at/%headbranch%/build/index.html)' body-update-action: prefix body-uppercase-head-match: false diff --git a/build/index.html b/build/index.html index dc0956ac3..7ce3d6ab9 100644 --- a/build/index.html +++ b/build/index.html @@ -40,7 +40,15 @@

Test Patterns for Review

Index Review 3 - 2f3b59b Hide setup button as needed + 9ccc7888 Add Alert and Breadcrumb test plan titles (#529) + + + + alert-test + Index + Review + 3 + 935a9677 script change @@ -48,7 +56,7 @@

Test Patterns for Review

Index Review 26 - 2f3b59b Hide setup button as needed + 0c61f715 Revert "Update JAWS commands for banner landmark tests, in line with JAWS 2022 updates" (#602) @@ -56,7 +64,7 @@

Test Patterns for Review

Index Review 9 - 2f3b59b Hide setup button as needed + a2434b1e Breadcrumb: fix misquoted strings in commands.csv (#540) @@ -64,7 +72,7 @@

Test Patterns for Review

Index Review 26 - 2f3b59b Hide setup button as needed + c2df595d Move test plan titles for app from support.json to references.csv (#473) @@ -72,7 +80,7 @@

Test Patterns for Review

Index Review 24 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -80,7 +88,7 @@

Test Patterns for Review

Index Review 76 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -88,7 +96,7 @@

Test Patterns for Review

Index Review 38 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -96,7 +104,7 @@

Test Patterns for Review

Index Review 9 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -104,7 +112,7 @@

Test Patterns for Review

Index Review 20 - 2f3b59b Hide setup button as needed + 03b8747f Create tests for APG design pattern example: Contentinfo Landmark (#549) @@ -112,7 +120,7 @@

Test Patterns for Review

Index Review 16 - 2f3b59b Hide setup button as needed + 03b8747f Create tests for APG design pattern example: Contentinfo Landmark (#549) @@ -120,7 +128,7 @@

Test Patterns for Review

Index Review 21 - 2f3b59b Hide setup button as needed + 0483d7ea Create tests for APG design pattern example: Date Picker Spin Button (#411) @@ -128,7 +136,7 @@

Test Patterns for Review

Index Review 26 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -136,7 +144,7 @@

Test Patterns for Review

Index Review 46 - 2f3b59b Hide setup button as needed + b2ceec70 Remove Space from tests 45 and 46 in disclosure navigation test plan (#585) @@ -144,7 +152,7 @@

Test Patterns for Review

Index Review 20 - 2f3b59b Hide setup button as needed + 53792c23 Create tests for APG design pattern example: Form Landmark (#551) @@ -152,7 +160,7 @@

Test Patterns for Review

Index Review 21 - 2f3b59b Hide setup button as needed + 49e2a000 Create tests for APG design pattern example: Color Viewer Slider (#414) @@ -160,14 +168,15 @@

Test Patterns for Review

Index Review 16 - + 4ed847af Create tests for APG design pattern example: Main Landmark (#553) + menu-button-actions Index Review 26 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -175,7 +184,7 @@

Test Patterns for Review

Index Review 26 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -183,7 +192,7 @@

Test Patterns for Review

Index Review 40 - 2f3b59b Hide setup button as needed + 05c4cf59 Standardize code style (#484) @@ -191,7 +200,7 @@

Test Patterns for Review

Index Review 9 - 2f3b59b Hide setup button as needed + 0177f9e7 Create tests for APG design pattern example: meter (#571) @@ -199,7 +208,7 @@

Test Patterns for Review

Index Review 55 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -207,7 +216,7 @@

Test Patterns for Review

Index Review 29 - 2f3b59b Hide setup button as needed + 04ed13d5 Fix typo in modal-dialog metadata (#527) @@ -215,7 +224,7 @@

Test Patterns for Review

Index Review 39 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -223,7 +232,7 @@

Test Patterns for Review

Index Review 39 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -231,7 +240,7 @@

Test Patterns for Review

Index Review 21 - 2f3b59b Hide setup button as needed + b5c67ace Create tests for APG design pattern example: Vertical Temperature Slider (#487) @@ -239,7 +248,7 @@

Test Patterns for Review

Index Review 21 - 2f3b59b Hide setup button as needed + 22c9895b Create tests for APG design pattern example: Media Seek Slider (#488) @@ -247,7 +256,7 @@

Test Patterns for Review

Index Review 24 - 2f3b59b Hide setup button as needed + d3b62389 Create tests for APG design pattern example: Switch (#543) @@ -255,7 +264,7 @@

Test Patterns for Review

Index Review 29 - 2f3b59b Hide setup button as needed + 091420a1 Add title reference field to each test plan (#521) @@ -263,7 +272,7 @@

Test Patterns for Review

Index Review 24 - 2f3b59b Hide setup button as needed + acc6cb13 Toggle Button: fix setup scripts to set state of button to 'pressed' in some cases which were previously not accounted for (#532) @@ -271,7 +280,7 @@

Test Patterns for Review

Index Review 21 - 2f3b59b Hide setup button as needed + b5c67ace Create tests for APG design pattern example: Vertical Temperature Slider (#487) diff --git a/build/review/alert-test.html b/build/review/alert-test.html new file mode 100644 index 000000000..bac6c456e --- /dev/null +++ b/build/review/alert-test.html @@ -0,0 +1,1044 @@ + + + + + Test plan review for pattern: alert-test + + + + + +

Test plan review for pattern: alert-test (3 tests)

+ +
+ Filter tests by assistive technology + + + + +
+ +

Test 1: Trigger an alert in reading mode

+

+

+ + +

+
+

JAWS

+

Scripted Instructions

+ The following instructions are executed by a script in the test page to initialize the widget: +
    +
  1. sets focus on the 'Trigger Alert' button
  2. +
+

Tester Instructions

+

+

    +
  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. +
  3. With the reading cursor on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands: +
      +
    • Space
    • +
    • Enter
    • +
    +
  4. +
+

+

Assertions

+ + + + +
PriorityAssertion
requiredRole 'alert' is conveyed
requiredText 'Hello' is conveyed
+
+
+

NVDA

+

Scripted Instructions

+ The following instructions are executed by a script in the test page to initialize the widget: +
    +
  1. sets focus on the 'Trigger Alert' button
  2. +
+

Tester Instructions

+

+

    +
  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. +
  3. With the reading cursor on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands: +
      +
    • Space
    • +
    • Enter
    • +
    +
  4. +
+

+

Assertions

+ + + + +
PriorityAssertion
requiredRole 'alert' is conveyed
requiredText 'Hello' is conveyed
+
+

Test 2: Trigger an alert in interaction mode

+

+

+ + +

+
+

JAWS

+

Scripted Instructions

+ The following instructions are executed by a script in the test page to initialize the widget: +
    +
  1. sets focus on the 'Trigger Alert' button
  2. +
+

Tester Instructions

+

+

    +
  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. +
  3. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands: +
      +
    • Space
    • +
    • Enter
    • +
    +
  4. +
+

+

Assertions

+ + + + +
PriorityAssertion
requiredRole 'alert' is conveyed
requiredText 'Hello' is conveyed
+
+
+

NVDA

+

Scripted Instructions

+ The following instructions are executed by a script in the test page to initialize the widget: +
    +
  1. sets focus on the 'Trigger Alert' button
  2. +
+

Tester Instructions

+

+

    +
  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. +
  3. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands: +
      +
    • Space
    • +
    • Enter
    • +
    +
  4. +
+

+

Assertions

+ + + + +
PriorityAssertion
requiredRole 'alert' is conveyed
requiredText 'Hello' is conveyed
+
+

Test 3: Trigger an alert

+

+

+ + +

+
+

VoiceOver for macOS

+

Scripted Instructions

+ The following instructions are executed by a script in the test page to initialize the widget: +
    +
  1. sets focus on the 'Trigger Alert' button
  2. +
+

Tester Instructions

+

+

    +
  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. +
  3. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands: +
      +
    • Control+Option+Space
    • +
    • Space
    • +
    • Enter
    • +
    +
  4. +
+

+

Assertions

+ + + + +
PriorityAssertion
requiredRole 'alert' is conveyed
requiredText 'Hello' is conveyed
+
+ + + diff --git a/build/review/alert.html b/build/review/alert.html index cc37aa89c..13c749cb0 100644 --- a/build/review/alert.html +++ b/build/review/alert.html @@ -63,6 +63,9 @@ setFocusOnButton: function(testPageDocument){ // sets focus on the 'Trigger Alert' button testPageDocument.querySelector('#alert-trigger').focus(); +}, setFocusOnButton: function(testPageDocument){ + // sets focus on the 'Trigger Alert' button + testPageDocument.querySelector('#alert-trigger').focus(); }, setFocusAfterBanner: function(testPageDocument){ // sets focus on a link after the banner landmark testPageDocument.getElementById('afterlink').focus(); @@ -842,7 +845,7 @@

Test 1: Trigger an alert in reading mode