Skip to content

Commit 5446c67

Browse files
jongundmcking65howard-e
authored
Infrastructure: update skipto.js to version 5.2.1 (pull #2807)
Updates skipto.js to use version 5.2.1 without APG specific modifications. In lieu of modifying the script, the script import now specifies parameters for the desired behaviors. This required changing the script import on every page to include the following data attribute: ``` <script data-skipto="colortheme: aria; displayoption: popup" src="../../shared/js/skipto.js"></script> ``` This is related to [issue 259](w3c/wai-aria-practices#259) in wai-aria-practices repository. --------- Co-authored-by: Matt King <[email protected]> Co-authored-by: Howard Edwards <[email protected]>
1 parent 36726b1 commit 5446c67

File tree

114 files changed

+1081
-973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1081
-973
lines changed

content/about/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../shared/css/core.css">
1111
<script src="../shared/js/highlight.pack.js"></script>
1212
<script src="../shared/js/app.js"></script>
13-
<script src="../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/about/acknowledgements/acknowledgements.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../../shared/css/core.css">
1111
<script src="../../shared/js/highlight.pack.js"></script>
1212
<script src="../../shared/js/app.js"></script>
13-
<script src="../../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/about/aria-basics/aria-basics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../../shared/css/core.css">
1111
<script src="../../shared/js/highlight.pack.js"></script>
1212
<script src="../../shared/js/app.js"></script>
13-
<script src="../../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/about/change-history/change-history.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../../shared/css/core.css">
1111
<script src="../../shared/js/highlight.pack.js"></script>
1212
<script src="../../shared/js/app.js"></script>
13-
<script src="../../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/about/coverage-and-quality/coverage-and-quality-report.html

Lines changed: 322 additions & 275 deletions
Large diffs are not rendered by default.

content/about/coverage-and-quality/prop-coverage.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"aria-flowto","0","0"
1919
"aria-grabbed","0","0"
2020
"aria-haspopup","0","9","Example: Date Picker Combobox","Example: Editable Combobox with Grid Popup","Example: (Deprecated) Collapsible Dropdown Listbox","Example: Actions Menu Button Using aria-activedescendant","Example: Actions Menu Button Using element.focus()","Example: Navigation Menu Button","Example: Editor Menubar","Example: Navigation Menubar","Example: Toolbar"
21-
"aria-hidden","0","13","Example: Button (IDL Version)","Example: Editor Menubar","Example: Horizontal Multi-Thumb Slider","Example: Color Viewer Slider","Example: Rating Slider","Example: Media Seek Slider","Example: Vertical Temperature Slider","Example: Date Picker Spin Button","Example: Switch Using HTML Button","Example: Switch Using HTML Checkbox Input","Example: Switch","Example: Sortable Table","Example: Toolbar"
21+
"aria-hidden","0","16","Example: Button (IDL Version)","Example: Listbox with Grouped Options","Example: Listboxes with Rearrangeable Options","Example: Scrollable Listbox","Example: Editor Menubar","Example: Horizontal Multi-Thumb Slider","Example: Color Viewer Slider","Example: Rating Slider","Example: Media Seek Slider","Example: Vertical Temperature Slider","Example: Date Picker Spin Button","Example: Switch Using HTML Button","Example: Switch Using HTML Checkbox Input","Example: Switch","Example: Sortable Table","Example: Toolbar"
2222
"aria-invalid","0","0"
2323
"aria-keyshortcuts","0","0"
2424
"aria-label","1","18","Guidance: Naming with a String Attribute Via aria-label","Example: Breadcrumb","Example: Auto-Rotating Image Carousel with Buttons for Slide Control","Example: Auto-Rotating Image Carousel with Tabs for Slide Control","Example: Editable Combobox With Both List and Inline Autocomplete","Example: Editable Combobox With List Autocomplete","Example: Editable Combobox without Autocomplete","Example: Date Picker Combobox","Example: Date Picker Dialog","Example: Link","Example: Editor Menubar","Example: Navigation Menubar","Example: Rating Radio Group","Example: Horizontal Multi-Thumb Slider","Example: Date Picker Spin Button","Example: Table","Example: Toolbar","Example: Treegrid Email Inbox","Example: Navigation Treeview"

content/about/coverage-and-quality/role-coverage.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"meter","2","1","Guidance: Meter Pattern","Guidance: Range properties with meter","Example: Meter"
4747
"navigation","5","3","Guidance: Fundamental Keyboard Navigation Conventions","Guidance: Keyboard Navigation Between Components (The Tab Sequence)","Guidance: Keyboard Navigation Inside Components","Guidance: Ensure Basic Access Via Navigation","Guidance: Navigation","Example: Navigation Menubar","Example: Navigation Treeview","Example: Navigation Landmark"
4848
"none","0","7","Example: Navigation Menu Button","Example: Navigation Menubar","Example: Rating Radio Group","Example: Horizontal Multi-Thumb Slider","Example: Media Seek Slider","Example: Vertical Temperature Slider","Example: Navigation Treeview"
49-
"note","0","0"
49+
"note","37","0","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note","Guidance: Note"
5050
"option","0","8","Example: Editable Combobox With Both List and Inline Autocomplete","Example: Editable Combobox With List Autocomplete","Example: Editable Combobox without Autocomplete","Example: Select-Only Combobox","Example: (Deprecated) Collapsible Dropdown Listbox","Example: Listbox with Grouped Options","Example: Listboxes with Rearrangeable Options","Example: Scrollable Listbox"
5151
"paragraph","0","0"
5252
"presentation","5","0","Guidance: Hiding Semantics with the presentation Role","Guidance: Common Uses of Role presentation","Guidance: Effects of Role presentation","Guidance: Conditions That Cause Role presentation to be Ignored","Guidance: Example Demonstrating Effects of the presentation Role"

content/about/introduction/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../../shared/css/core.css">
1111
<script src="../../shared/js/highlight.pack.js"></script>
1212
<script src="../../shared/js/app.js"></script>
13-
<script src="../../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/about/related-specifications/related-specifications.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" href="../../shared/css/core.css">
1111
<script src="../../shared/js/highlight.pack.js"></script>
1212
<script src="../../shared/js/app.js"></script>
13-
<script src="../../shared/js/skipto.js"></script>
13+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
1414
</head>
1515
<body>
1616
<main>

content/apg-home.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
max-width: 300px;
1313
}
1414
</style>
15+
16+
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="shared/js/skipto.js"></script>
17+
1518
</head>
1619
<body>
1720
<div id="top-card">

0 commit comments

Comments
 (0)