-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace aria-practices.html with a new content tree and move examples…
… into the patterns branch of the tree (pull #2417) This commit makes the following changes: - Moves the HTML source for each pattern from a section in /aria-practices.html into its own file in a directory for the pattern, e.g., `patterns/button/button-pattern.html`. - moves all example files from the /examples directory into an examples subdirectory under its associated pattern, e.g., `patterns/button/examples/button.html`. - Moves the HTML source for each practice from a section in /aria-practices.html into its own file in a directory for the practice, e.g., `practices/grid-and-table-properties/grid-and-table-properties-practice.html` - Moves the HTML source for each section of the about page from a section in /aria-practices.html into `about/about.html`. - Renames HTML files that were named "index.html" to a more appropriate name, except for the page that serves as the index. - For consistency, removes a superfluous directory from the path for two of the tree view examples. - Makes link text more consistent, e.g., links to patterns no longer contain the word "design". - Makes styling for warnings, advisories, and notes more consistent. - Removes dependencies on respec for resolution of links to external resources, such as the ARIA specification. - Revises GitHub workflows and supporting scripts to support the new content structure. Co-authored-by: JaEun Jemma Ku <[email protected]> Co-authored-by: alflennik <[email protected]> Co-authored-by: Nick Schonning <[email protected]> Co-authored-by: Sarah Higley <[email protected]> Co-authored-by: Jon Gunderson <[email protected]>
- Loading branch information
1 parent
d7db313
commit ae779f3
Showing
453 changed files
with
33,285 additions
and
35,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
**/*.min.js | ||
common/ | ||
examples/landmarks/js/visua11y.js | ||
examples/js/highlight.pack.js | ||
examples/js/skipto.js | ||
content/patterns/landmarks/examples/js/visua11y.js | ||
content/shared/js/highlight.pack.js | ||
content/shared/js/skipto.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Link Checker | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
link-checker: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: npm | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Run link checker | ||
run: npm run link-checker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
filesToIgnore: ['content/shared/templates/example-usage-warning.html'], | ||
excludedLinks: { | ||
'content/patterns/menubar/examples/menubar-navigation.html': [ | ||
'#ex1 [role=menuitem]', | ||
], | ||
'content/patterns/treeview/examples/treeview-navigation.html': [ | ||
'#ex1 [role=treeitem]', | ||
], | ||
'content/patterns/carousel/examples/carousel-2-tablist.html': [ | ||
'.carousel-image a', | ||
], | ||
}, | ||
ignoreHashesOnExternalPagesMatchingRegex: [ | ||
// Some hash links are resolved with JS and are therefore difficult to check algorithmically | ||
/^https:\/\/github\.com\/.*\/wiki\//, | ||
/^https:\/\/html\.spec\.whatwg\.org\/multipage\//, | ||
], | ||
}; |
Oops, something went wrong.