Skip to content

Commit

Permalink
Merge branch 'main' into ax-indextext
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-montalvo committed Nov 12, 2024
2 parents 4a54d35 + 5fbc6e9 commit 8b86586
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 36 deletions.
55 changes: 22 additions & 33 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,43 @@
spec:aria:
- any:
- changed-files:
- 'index.html'
- changed-files:
- any-glob-to-any-file: 'index.html'

spec:accname:
any:
- changed-files:
- 'accname/**/*'
- changed-files:
- any-glob-to-any-file: 'accname/**'

spec:core-aam:
- any:
- changed-files:
- 'core/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'core-aam/**'

spec:dpub-aam:
- any:
- changed-files:
- 'dpub/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'dpub-aam/**'

spec:dpub-aria:
- any:
- changed-files:
- 'dpub/aria/**/*'
- changed-files:
- any-glob-to-any-file: 'dpub-aria/**'

spec:graphics-aam:
- any:
- changed-files:
- 'graphics/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'graphics-aam/**'

spec:graphics-aria:
- any:
- changed-files:
- 'graphics/aria/**/*'
- changed-files:
- any-glob-to-any-file: 'graphics-aria/**'

spec:html-aam:
- any:
- changed-files:
- 'html/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'html-aam/**'

spec:svg-aam:
- any:
- changed-files:
- 'svg/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'svg-aam/**'

spec:mathml-aam:
- any:
- changed-files:
- 'mathml/aam/**/*'
- changed-files:
- any-glob-to-any-file: 'mathml-aam/**'

spec:pdf-aam:
- any:
- changed-files:
- 'pdf-aam/**'
- changed-files:
- any-glob-to-any-file: 'pdf-aam/**'
69 changes: 69 additions & 0 deletions .github/workflows/pdf-aam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: pdf-aam ED
on:
push:
branches:
- 'main'
paths:
- 'common/**'
- 'pdf-aam/**'
workflow_dispatch:

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch to pdf-aam repo
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/pdf-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
update-pdf-aam:
runs-on: ubuntu-latest
steps:
- name: Checkout monorepo
uses: actions/checkout@v4
with:
ref: main
path: aria
sparse-checkout: |
pdf-aam
common
- name: Copy common
run: |
mkdir aria/pdf-aam/common
cp -r aria/common/** aria/pdf-aam/common/
sed -i 's|\.\./common|common|g' aria/pdf-aam/index.html
- uses: w3c/spec-prod@v2
with:
TOOLCHAIN: respec
SOURCE: aria/pdf-aam/index.html
DESTINATION: aria/pdf-aam/index.html
# W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN_pdf_aam }}
# W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-aria-admin/2018Sep/0011.html
# W3C_BUILD_OVERRIDE: |
# specStatus: WD
ARTIFACT_NAME: pdf-aam
- name: Checkout pdf-aam repo
uses: actions/checkout@v4
with:
repository: w3c/pdf-aam
ref: gh-pages
path: pdf-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
- uses: actions/download-artifact@v4
with:
name: pdf-aam
- name: Copy files
run: |
cp -r aria/pdf-aam/** pdf-aam/
- name: Push new files to child repo
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "ED update"
git push origin gh-pages
working-directory: pdf-aam
6 changes: 3 additions & 3 deletions html-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3319,7 +3319,7 @@ <h4 id="el-input-color">`input` <span class="el-context">(`type` attribute in th
<td>
<div class="general">
If implemented as a color picker, any UI controls presented for selecting a color are exposed in the <a class="termref">accessibility tree</a>, associated with the `input` element,
and mapped as appropriate for the type of control (e.g. button or slider).
and mapped as appropriate for the type of control (e.g., button or slider).
</div>
</td>
</tr>
Expand Down Expand Up @@ -6642,7 +6642,7 @@ <h4 id="el-style">`style`</h4>
<td>
<div class="general">
<b>Note:</b> There are instances where CSS properties can affect what is exposed by accessibility APIs. For instance, `display: none` or `visibility: hidden` will remove an element
from the accessibility tree and hide its presence from assistive technologies.
from the <a class="termref">accessibility tree</a> and hide its presence from assistive technologies.
</div>
</td>
</tr>
Expand Down Expand Up @@ -11712,7 +11712,7 @@ <h4 id="att-label">`label`</h4>
</tr>
<tr>
<th>Comments</th>
<td>See Also: <a href="" class="accname">Accessible Name and Description: Computation and API Mappings 1.1</a></td>
<td>See Also: <a href="" class="accname">Accessible Name and Description: Computation and API Mappings</a></td>
</tr>
</tbody>
</table>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Accessible Rich Internet Applications (WAI-ARIA) 1.3</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta name="color-scheme" content="light dark">
<script src="https://www.w3.org/Tools/respec/respec-w3c" class="remove"></script>
<link href="common/css/common.css" rel="stylesheet" type="text/css"/>
<script class="remove" src="common/script/aria.js"></script>
Expand Down

0 comments on commit 8b86586

Please sign in to comment.