diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000000..58fe12d5cf --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,33 @@ +name: Check examples/index.html + +on: + push: + branches-ignore: + - "dependabot/**" + paths: + - "package*.json" + - ".github/workflows/examples.yml" + - "examples/**" + - "scripts/reference-tables.*" + pull_request: + paths: + - "package*.json" + - ".github/workflows/examples.yml" + - "examples/**" + - "scripts/reference-tables.*" + +jobs: + examples: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: npm ci + + - name: Generate examples/index.html + run: npm run reference-tables + + - name: Ensure no git changes + run: git diff --exit-code diff --git a/examples/index.html b/examples/index.html index 4e78f6c016..139b6430f7 100644 --- a/examples/index.html +++ b/examples/index.html @@ -131,7 +131,7 @@

Examples by Role

group @@ -416,8 +416,8 @@

Examples By Properties and States

  • Checkbox (Two State)
  • Checkbox (Mixed-State)
  • Editor Menubar
  • -
  • Radio Group Using Roving tabindex
  • -
  • Radio Group Using aria-activedescendant
  • +
  • Radio Group Using aria-activedescendant
  • +
  • Radio Group Using Roving tabindex
  • Toolbar
  • @@ -431,7 +431,7 @@

    Examples By Properties and States