diff --git a/.github/labeler.yml b/.github/labeler.yml index 6e3411cef..90a78ce86 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -46,4 +46,8 @@ spec:svg-aam: spec:mathml-aam: - any: - changed-files: - - any-glob-to-any-file: 'mathml-aam/**' \ No newline at end of file + - any-glob-to-any-file: 'mathml-aam/**' +spec:pdf-aam: + - any: + - changed-files: + - any-glob-to-any-file: 'pdf-aam/**' diff --git a/.github/workflows/pdf-aam.yml b/.github/workflows/pdf-aam.yml new file mode 100644 index 000000000..5701fc769 --- /dev/null +++ b/.github/workflows/pdf-aam.yml @@ -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.common/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 diff --git a/documentation/aria-idl.md b/documentation/aria-idl.md new file mode 100644 index 000000000..64378e70a --- /dev/null +++ b/documentation/aria-idl.md @@ -0,0 +1,235 @@ +# ARIA IDL + +## IDL (Interface Definition Language) Overview +### What is IDL (Interface Definition Language)? +- IDL (Interface Definition Language) is broadly used to define object interfaces in computing. On the web, Web IDL is “used to describe interfaces that are intended to be implemented in web browsers” and “...provides a syntax for specifying the surface APIs of web platform objects, as well as JavaScript bindings that detail how those APIs manifest as JavaScript constructs.”([Web IDL Section 1. Introduction](https://webidl.spec.whatwg.org/#introduction)) +- Interfaces + - The HTML DOM API is a good example: all HTML elements (e.g., `