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

ci(vpat): deque vpat metrics setup #1263

Merged
merged 14 commits into from
Feb 14, 2024
Merged
193 changes: 193 additions & 0 deletions .github/ISSUE_TEMPLATE/accessibility_violation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
---
name: Accessibility Violation
about: Document an accessibility violation to be fixed
title: '[A11Y] '
labels: ['accessibility']
assignees: ''
---

<!--
Thank you for taking the time to create this Accessibility Issue!
-->

## Issue Details

---

### Short Description

<!-- Please provide a short description of the issue -->

### Impact

<!-- Please select the impact by putting an `x` in the `[ ]` like so `[x]` -->

- [ ] Blocker
- [ ] Critical
- [ ] Serious
- [ ] Moderate
- [ ] Minor

### Steps To Reproduce:

<!--
Example: steps to reproduce the behavior:
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
-->

### Current Behavior:

<!-- A concise description of what you're experiencing. -->

### Expected Behavior:

<!-- A concise description of what you expected to happen or help for how to fix this issue. -->

---

## Additional Context

### Auditor ID / URL

<!-- If this was found in manual testing, provide a link to the Auditor test run issue -->

### Additional Details

<!-- Add any other context about the feature request here. -->

<details>
<summary>Expand for extra context</summary>

<!-- Select any / all that apply by putting an `x` in the `[ ]` like so `[x]` -->

- [ ] Discovered during VPAT
- [ ] Found using NVDA
- [ ] Found using Chrome Screen Reader
- [ ] Found with special configuration <!-- Specify the additional config below -->
</details>

---

## Screenshots <!-- Please provide links to relevant screenshots of the issue -->

---

## Success Criteria

<!-- Select any / all success criteria that apply by putting an `x` in the `[ ]` like so `[x]` -->

### 1. Perceivable

<details>
<summary>Expand</summary>

#### 1.1 Text Alternatives

- [ ] 1.1.1 Non-text Content

#### 1.2 Time-based Media

- [ ] 1.2.1 Audio-only and Video-only (Prerecorded)
- [ ] 1.2.2 Captions (Prerecorded)
- [ ] 1.2.3 Audio Description or Media Alternative (Prerecorded)
- [ ] 1.2.4 Captions (Live)
- [ ] 1.2.5 Audio Description (Prerecorded)

#### 1.3 Info and Relationships

- [ ] 1.3.1 Info and Relationships
- [ ] 1.3.2 Meaningful Sequence
- [ ] 1.3.3 Sensory Characteristics
- [ ] 1.3.4 Orientation
- [ ] 1.3.5 Identify Input Purpose

#### 1.4 Distinguishable

- [ ] 1.4.1 Use of Color
- [ ] 1.4.2 Audio Control
- [ ] 1.4.3 Contrast (Minimum)
- [ ] 1.4.4 Resize text
- [ ] 1.4.5 Images of Text
- [ ] 1.4.10 Reflow
- [ ] 1.4.11 Non-text Contrast
- [ ] 1.4.12 Text Spacing
- [ ] 1.4.13 Content on Hover or Focus
</details>

### 2. Operable

<details>
<summary>Expand</summary>

#### 2.1 Keyboard Accessible

- [ ] 2.1.1 Keyboard
- [ ] 2.1.2 No Keyboard Trap
- [ ] 2.1.4 Character Key Shortcuts

#### 2.2 Enough Time

- [ ] 2.2.1 Timing Adjustable
- [ ] 2.2.2 Pause, Stop, Hide

#### 2.3 Seizures and Physical Reactions

- [ ] 2.3.1 Three Flashes or Below Threshold

#### 2.4 Navigable

- [ ] 2.4.1 Bypass Blocks
- [ ] 2.4.2 Page Titled
- [ ] 2.4.3 Focus Order
- [ ] 2.4.4 Link Purpose (In Context)
- [ ] 2.4.5 Multiple Ways
- [ ] 2.4.6 Headings and Labels
- [ ] 2.4.7 Focus Visible

#### 2.5 Input Modalities

- [ ] 2.5.1 Pointer Gestures
- [ ] 2.5.2 Pointer Cancellation
- [ ] 2.5.3 Label in Name
- [ ] 2.5.4 Motion Actuation
</details>

### 3. Understandable

<details>
<summary>Expand</summary>

#### 3.1 Readable

- [ ] 3.1.1 Language of Page
- [ ] 3.1.2 Language of Parts

#### 3.2 Predictable

- [ ] 3.2.1 On Focus
- [ ] 3.2.2 On Input
- [ ] 3.2.3 Consistent Navigation
- [ ] 3.2.4 Consistent Identification

#### 3.3 Input Assistance

- [ ] 3.3.1 Error Identification
- [ ] 3.3.2 Labels or Instructions
- [ ] 3.3.3 Error Suggestion
- [ ] 3.3.4 Error Prevention (Legal, Financial, Data)
</details>

### 4. Robust

<details>
<summary>Expand</summary>

#### 4.1 Compatible

- [ ] 4.1.1 Parsing
- [ ] 4.1.2 Name, Role, Value
- [ ] 4.1.3 Status Messages
</details>
1 change: 1 addition & 0 deletions .github/a11y-metrics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
35 changes: 35 additions & 0 deletions .github/workflows/vpat-create.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: VPAT Generate

on:
workflow_dispatch:
push:
branches:
- master

jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'master'
- uses: ./.github/actions/dependencies
with:
root: false
packages-react: false
packages-styles: false
- name: Generate VPAT file
uses: dequelabs/action-vpat-report@main
with:
product-name: Cauldron
output-file: vpats/{DATE}-{PRODUCT}.md
- uses: peter-evans/create-pull-request@v5
scurker marked this conversation as resolved.
Show resolved Hide resolved
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: Generate a VPAT'
branch: auto-generate-vpat-report
base: develop
title: 'chore: Generate a VPAT'
body: |
This patch generates a VPAT based on this repository's currently open issues.
This PR was opened by a robot :robot: :tada:
22 changes: 22 additions & 0 deletions .github/workflows/vpat-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: VPAT Issue Labeler
on:
issues:
types: [opened, edited]
jobs:
add_labels:
runs-on: ubuntu-latest
steps:
- uses: dequelabs/action-vpat-labels@main
- uses: dequelabs/action-a11y-issue-labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
include-title: 1
label-customer: ""
label-production: ""
label-vpat: "vpat"
label-a11y: "accessibility"
label-blocker: "vpat:blocker"
label-critical: "vpat:critical"
label-serious: "vpat:serious"
label-moderate: "vpat:moderate"
label-minor: "vpat:minor"
Empty file added vpats/.empty
Empty file.
Loading