From 6e81c990e75898769b7b0a758acf63151dfe2cb2 Mon Sep 17 00:00:00 2001 From: Paul Clue <67766160+Paul-Clue@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:44:55 -0500 Subject: [PATCH] Replace build script header --- .../patterns/accordion/examples/accordion.md | 6 +- ARIA/apg/patterns/alert/examples/alert.md | 6 +- .../alertdialog/examples/alertdialog.md | 6 +- .../breadcrumb/examples/breadcrumb.md | 6 +- ARIA/apg/patterns/button/examples/button.md | 6 +- .../patterns/button/examples/button_idl.md | 6 +- .../carousel/examples/carousel-1-prev-next.md | 6 +- .../carousel/examples/carousel-2-tablist.md | 6 +- .../checkbox/examples/checkbox-mixed.md | 6 +- .../patterns/checkbox/examples/checkbox.md | 6 +- .../examples/combobox-autocomplete-both.md | 6 +- .../examples/combobox-autocomplete-list.md | 6 +- .../examples/combobox-autocomplete-none.md | 6 +- .../combobox/examples/combobox-datepicker.md | 6 +- .../combobox/examples/combobox-select-only.md | 6 +- .../patterns/combobox/examples/grid-combo.md | 6 +- .../examples/datepicker-dialog.md | 6 +- .../patterns/dialog-modal/examples/dialog.md | 6 +- .../disclosure/examples/disclosure-faq.md | 6 +- .../examples/disclosure-image-description.md | 6 +- .../examples/disclosure-navigation-hybrid.md | 6 +- .../examples/disclosure-navigation.md | 6 +- ARIA/apg/patterns/feed/examples/feed.md | 6 +- .../grid/examples/advanced-data-grid.md | 6 +- ARIA/apg/patterns/grid/examples/data-grids.md | 6 +- .../patterns/grid/examples/layout-grids.md | 6 +- ARIA/apg/patterns/link/examples/link.md | 6 +- .../listbox/examples/listbox-collapsible.md | 6 +- .../listbox/examples/listbox-grouped.md | 6 +- .../listbox/examples/listbox-rearrangeable.md | 6 +- .../listbox/examples/listbox-scrollable.md | 6 +- .../menu-button-actions-active-descendant.md | 6 +- .../examples/menu-button-actions.md | 6 +- .../menu-button/examples/menu-button-links.md | 6 +- .../menubar/examples/menubar-editor.md | 6 +- .../menubar/examples/menubar-navigation.md | 6 +- ARIA/apg/patterns/meter/examples/meter.md | 6 +- .../radio/examples/radio-activedescendant.md | 6 +- .../patterns/radio/examples/radio-rating.md | 6 +- ARIA/apg/patterns/radio/examples/radio.md | 6 +- .../examples/slider-multithumb.md | 6 +- .../slider/examples/slider-color-viewer.md | 6 +- .../patterns/slider/examples/slider-rating.md | 6 +- .../patterns/slider/examples/slider-seek.md | 6 +- .../slider/examples/slider-temperature.md | 6 +- .../examples/datepicker-spinbuttons.md | 6 +- .../patterns/switch/examples/switch-button.md | 6 +- .../switch/examples/switch-checkbox.md | 6 +- ARIA/apg/patterns/switch/examples/switch.md | 6 +- .../patterns/table/examples/sortable-table.md | 6 +- ARIA/apg/patterns/table/examples/table.md | 6 +- .../patterns/tabs/examples/tabs-automatic.md | 6 +- .../apg/patterns/tabs/examples/tabs-manual.md | 6 +- ARIA/apg/patterns/toolbar/examples/toolbar.md | 6 +- .../patterns/treegrid/examples/treegrid-1.md | 6 +- .../patterns/treeview/examples/treeview-1a.md | 6 +- .../patterns/treeview/examples/treeview-1b.md | 6 +- .../treeview/examples/treeview-navigation.md | 6 +- .../templates/example-usage-warning.html | 1 + scripts/pre-build/library/transformExample.js | 59 ++++++++----------- 60 files changed, 143 insertions(+), 265 deletions(-) diff --git a/ARIA/apg/patterns/accordion/examples/accordion.md b/ARIA/apg/patterns/accordion/examples/accordion.md index 56a901de8..0aba6f380 100644 --- a/ARIA/apg/patterns/accordion/examples/accordion.md +++ b/ARIA/apg/patterns/accordion/examples/accordion.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/accordion/examples/accordion/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -63,8 +63,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -88,7 +87,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/alert/examples/alert.md b/ARIA/apg/patterns/alert/examples/alert.md index ea203b9c6..687944097 100644 --- a/ARIA/apg/patterns/alert/examples/alert.md +++ b/ARIA/apg/patterns/alert/examples/alert.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/alert/examples/alert/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -67,8 +67,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -92,7 +91,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/alertdialog/examples/alertdialog.md b/ARIA/apg/patterns/alertdialog/examples/alertdialog.md index adc54b959..f1c5b5114 100644 --- a/ARIA/apg/patterns/alertdialog/examples/alertdialog.md +++ b/ARIA/apg/patterns/alertdialog/examples/alertdialog.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/alertdialog/examples/alertdialog/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/breadcrumb/examples/breadcrumb.md b/ARIA/apg/patterns/breadcrumb/examples/breadcrumb.md index 593f0ca37..c7cf03047 100644 --- a/ARIA/apg/patterns/breadcrumb/examples/breadcrumb.md +++ b/ARIA/apg/patterns/breadcrumb/examples/breadcrumb.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/breadcrumb/examples/breadcrumb/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -63,8 +63,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -88,7 +87,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/button/examples/button.md b/ARIA/apg/patterns/button/examples/button.md index 87a7d17b5..61485973e 100644 --- a/ARIA/apg/patterns/button/examples/button.md +++ b/ARIA/apg/patterns/button/examples/button.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/button/examples/button/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/button/examples/button_idl.md b/ARIA/apg/patterns/button/examples/button_idl.md index 7ccf22874..ab497adfb 100644 --- a/ARIA/apg/patterns/button/examples/button_idl.md +++ b/ARIA/apg/patterns/button/examples/button_idl.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/button/examples/button_idl/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next.md b/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next.md index 1cd50c2e6..fd9da1cd0 100644 --- a/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next.md +++ b/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/carousel/examples/carousel-1-prev-next/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -66,8 +66,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -91,7 +90,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/carousel/examples/carousel-2-tablist.md b/ARIA/apg/patterns/carousel/examples/carousel-2-tablist.md index ab6a7d31f..d36ffdb08 100644 --- a/ARIA/apg/patterns/carousel/examples/carousel-2-tablist.md +++ b/ARIA/apg/patterns/carousel/examples/carousel-2-tablist.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/carousel/examples/carousel-2-tablist/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/checkbox/examples/checkbox-mixed.md b/ARIA/apg/patterns/checkbox/examples/checkbox-mixed.md index 26ed1999c..1fd037353 100644 --- a/ARIA/apg/patterns/checkbox/examples/checkbox-mixed.md +++ b/ARIA/apg/patterns/checkbox/examples/checkbox-mixed.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/checkbox/examples/checkbox-mixed/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/checkbox/examples/checkbox.md b/ARIA/apg/patterns/checkbox/examples/checkbox.md index 977e7f509..f917f0327 100644 --- a/ARIA/apg/patterns/checkbox/examples/checkbox.md +++ b/ARIA/apg/patterns/checkbox/examples/checkbox.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/checkbox/examples/checkbox/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both.md b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both.md index 26886a6fb..f29f282ab 100644 --- a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both.md +++ b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list.md b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list.md index 58f9491fd..fb460c94c 100644 --- a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list.md +++ b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none.md b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none.md index 3651155cd..2a489a371 100644 --- a/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none.md +++ b/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/combobox-datepicker.md b/ARIA/apg/patterns/combobox/examples/combobox-datepicker.md index adec07aaa..84b0f97e3 100644 --- a/ARIA/apg/patterns/combobox/examples/combobox-datepicker.md +++ b/ARIA/apg/patterns/combobox/examples/combobox-datepicker.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/combobox-datepicker/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -70,8 +70,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -95,7 +94,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/combobox-select-only.md b/ARIA/apg/patterns/combobox/examples/combobox-select-only.md index 028193917..853cdda97 100644 --- a/ARIA/apg/patterns/combobox/examples/combobox-select-only.md +++ b/ARIA/apg/patterns/combobox/examples/combobox-select-only.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/combobox-select-only/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/combobox/examples/grid-combo.md b/ARIA/apg/patterns/combobox/examples/grid-combo.md index 463830e4d..963013f35 100644 --- a/ARIA/apg/patterns/combobox/examples/grid-combo.md +++ b/ARIA/apg/patterns/combobox/examples/grid-combo.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/combobox/examples/grid-combo/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -66,8 +66,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -91,7 +90,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog.md b/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog.md index e7c34605d..05f3f2b9c 100644 --- a/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog.md +++ b/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -70,8 +70,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -95,7 +94,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/dialog-modal/examples/dialog.md b/ARIA/apg/patterns/dialog-modal/examples/dialog.md index b449ee2b1..f6a9a2791 100644 --- a/ARIA/apg/patterns/dialog-modal/examples/dialog.md +++ b/ARIA/apg/patterns/dialog-modal/examples/dialog.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/dialog-modal/examples/dialog/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/disclosure/examples/disclosure-faq.md b/ARIA/apg/patterns/disclosure/examples/disclosure-faq.md index 99fd510d0..c96ac86a9 100644 --- a/ARIA/apg/patterns/disclosure/examples/disclosure-faq.md +++ b/ARIA/apg/patterns/disclosure/examples/disclosure-faq.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/disclosure/examples/disclosure-faq/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -66,8 +66,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -91,7 +90,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/disclosure/examples/disclosure-image-description.md b/ARIA/apg/patterns/disclosure/examples/disclosure-image-description.md index 99a1ad409..9491e2b0f 100644 --- a/ARIA/apg/patterns/disclosure/examples/disclosure-image-description.md +++ b/ARIA/apg/patterns/disclosure/examples/disclosure-image-description.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/disclosure/examples/disclosure-image-description/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/disclosure/examples/disclosure-navigation-hybrid.md b/ARIA/apg/patterns/disclosure/examples/disclosure-navigation-hybrid.md index 26b93ea17..75af455ef 100644 --- a/ARIA/apg/patterns/disclosure/examples/disclosure-navigation-hybrid.md +++ b/ARIA/apg/patterns/disclosure/examples/disclosure-navigation-hybrid.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/disclosure/examples/disclosure-navigation-hybrid/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/disclosure/examples/disclosure-navigation.md b/ARIA/apg/patterns/disclosure/examples/disclosure-navigation.md index 33a69bef4..c563d77dd 100644 --- a/ARIA/apg/patterns/disclosure/examples/disclosure-navigation.md +++ b/ARIA/apg/patterns/disclosure/examples/disclosure-navigation.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/disclosure/examples/disclosure-navigation/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/feed/examples/feed.md b/ARIA/apg/patterns/feed/examples/feed.md index ed14685d9..57cb9272e 100644 --- a/ARIA/apg/patterns/feed/examples/feed.md +++ b/ARIA/apg/patterns/feed/examples/feed.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/feed/examples/feed/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -58,8 +58,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -83,7 +82,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/grid/examples/advanced-data-grid.md b/ARIA/apg/patterns/grid/examples/advanced-data-grid.md index 317f5241f..71fc8ca9d 100644 --- a/ARIA/apg/patterns/grid/examples/advanced-data-grid.md +++ b/ARIA/apg/patterns/grid/examples/advanced-data-grid.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/grid/examples/advanced-data-grid/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -71,8 +71,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -96,7 +95,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/grid/examples/data-grids.md b/ARIA/apg/patterns/grid/examples/data-grids.md index 457fad361..74c480dff 100644 --- a/ARIA/apg/patterns/grid/examples/data-grids.md +++ b/ARIA/apg/patterns/grid/examples/data-grids.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/grid/examples/data-grids/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -71,8 +71,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -96,7 +95,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/grid/examples/layout-grids.md b/ARIA/apg/patterns/grid/examples/layout-grids.md index 199526969..d471b1d09 100644 --- a/ARIA/apg/patterns/grid/examples/layout-grids.md +++ b/ARIA/apg/patterns/grid/examples/layout-grids.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/grid/examples/layout-grids/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -66,8 +66,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -91,7 +90,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/link/examples/link.md b/ARIA/apg/patterns/link/examples/link.md index e735827a7..047a1249e 100644 --- a/ARIA/apg/patterns/link/examples/link.md +++ b/ARIA/apg/patterns/link/examples/link.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/link/examples/link/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/listbox/examples/listbox-collapsible.md b/ARIA/apg/patterns/listbox/examples/listbox-collapsible.md index 461c10014..a339007de 100644 --- a/ARIA/apg/patterns/listbox/examples/listbox-collapsible.md +++ b/ARIA/apg/patterns/listbox/examples/listbox-collapsible.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-collapsible/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/listbox/examples/listbox-grouped.md b/ARIA/apg/patterns/listbox/examples/listbox-grouped.md index ec3ece502..48a170d1b 100644 --- a/ARIA/apg/patterns/listbox/examples/listbox-grouped.md +++ b/ARIA/apg/patterns/listbox/examples/listbox-grouped.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-grouped/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/listbox/examples/listbox-rearrangeable.md b/ARIA/apg/patterns/listbox/examples/listbox-rearrangeable.md index 22d5bd302..aafd9b630 100644 --- a/ARIA/apg/patterns/listbox/examples/listbox-rearrangeable.md +++ b/ARIA/apg/patterns/listbox/examples/listbox-rearrangeable.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-rearrangeable/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -66,8 +66,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -91,7 +90,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/listbox/examples/listbox-scrollable.md b/ARIA/apg/patterns/listbox/examples/listbox-scrollable.md index 16b27f65b..31bc8a489 100644 --- a/ARIA/apg/patterns/listbox/examples/listbox-scrollable.md +++ b/ARIA/apg/patterns/listbox/examples/listbox-scrollable.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-scrollable/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/menu-button/examples/menu-button-actions-active-descendant.md b/ARIA/apg/patterns/menu-button/examples/menu-button-actions-active-descendant.md index 360765957..28cadf218 100644 --- a/ARIA/apg/patterns/menu-button/examples/menu-button-actions-active-descendant.md +++ b/ARIA/apg/patterns/menu-button/examples/menu-button-actions-active-descendant.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/menu-button/examples/menu-button-actions-active-de sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/menu-button/examples/menu-button-actions.md b/ARIA/apg/patterns/menu-button/examples/menu-button-actions.md index 00ae63ae4..6bd218a04 100644 --- a/ARIA/apg/patterns/menu-button/examples/menu-button-actions.md +++ b/ARIA/apg/patterns/menu-button/examples/menu-button-actions.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/menu-button/examples/menu-button-actions/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/menu-button/examples/menu-button-links.md b/ARIA/apg/patterns/menu-button/examples/menu-button-links.md index cd96d981e..d13ae3ed6 100644 --- a/ARIA/apg/patterns/menu-button/examples/menu-button-links.md +++ b/ARIA/apg/patterns/menu-button/examples/menu-button-links.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/menu-button/examples/menu-button-links/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/menubar/examples/menubar-editor.md b/ARIA/apg/patterns/menubar/examples/menubar-editor.md index e1fdaf8c3..f82261f8f 100644 --- a/ARIA/apg/patterns/menubar/examples/menubar-editor.md +++ b/ARIA/apg/patterns/menubar/examples/menubar-editor.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/menubar/examples/menubar-editor/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/menubar/examples/menubar-navigation.md b/ARIA/apg/patterns/menubar/examples/menubar-navigation.md index c35b73256..fe0105a45 100644 --- a/ARIA/apg/patterns/menubar/examples/menubar-navigation.md +++ b/ARIA/apg/patterns/menubar/examples/menubar-navigation.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/menubar/examples/menubar-navigation/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/meter/examples/meter.md b/ARIA/apg/patterns/meter/examples/meter.md index 84755cb5d..365bf5bfa 100644 --- a/ARIA/apg/patterns/meter/examples/meter.md +++ b/ARIA/apg/patterns/meter/examples/meter.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/meter/examples/meter/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -70,8 +70,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -95,7 +94,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/radio/examples/radio-activedescendant.md b/ARIA/apg/patterns/radio/examples/radio-activedescendant.md index ea97bb38c..eebda5a99 100644 --- a/ARIA/apg/patterns/radio/examples/radio-activedescendant.md +++ b/ARIA/apg/patterns/radio/examples/radio-activedescendant.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/radio/examples/radio-activedescendant/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/radio/examples/radio-rating.md b/ARIA/apg/patterns/radio/examples/radio-rating.md index 5d47b812a..e94401bdd 100644 --- a/ARIA/apg/patterns/radio/examples/radio-rating.md +++ b/ARIA/apg/patterns/radio/examples/radio-rating.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/radio/examples/radio-rating/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/radio/examples/radio.md b/ARIA/apg/patterns/radio/examples/radio.md index 46e60f286..e01361aa0 100644 --- a/ARIA/apg/patterns/radio/examples/radio.md +++ b/ARIA/apg/patterns/radio/examples/radio.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/radio/examples/radio/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/slider-multithumb/examples/slider-multithumb.md b/ARIA/apg/patterns/slider-multithumb/examples/slider-multithumb.md index 35289db7f..400b05ba5 100644 --- a/ARIA/apg/patterns/slider-multithumb/examples/slider-multithumb.md +++ b/ARIA/apg/patterns/slider-multithumb/examples/slider-multithumb.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/slider-multithumb/examples/slider-multithumb/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -67,8 +67,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -92,7 +91,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/slider/examples/slider-color-viewer.md b/ARIA/apg/patterns/slider/examples/slider-color-viewer.md index fb21afe5a..de27ffc6c 100644 --- a/ARIA/apg/patterns/slider/examples/slider-color-viewer.md +++ b/ARIA/apg/patterns/slider/examples/slider-color-viewer.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/slider/examples/slider-color-viewer/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/slider/examples/slider-rating.md b/ARIA/apg/patterns/slider/examples/slider-rating.md index 6ce6ed340..87616b0b9 100644 --- a/ARIA/apg/patterns/slider/examples/slider-rating.md +++ b/ARIA/apg/patterns/slider/examples/slider-rating.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/slider/examples/slider-rating/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -65,8 +65,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -90,7 +89,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/slider/examples/slider-seek.md b/ARIA/apg/patterns/slider/examples/slider-seek.md index d313c14f9..88ee8906b 100644 --- a/ARIA/apg/patterns/slider/examples/slider-seek.md +++ b/ARIA/apg/patterns/slider/examples/slider-seek.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/slider/examples/slider-seek/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/slider/examples/slider-temperature.md b/ARIA/apg/patterns/slider/examples/slider-temperature.md index ec1de9fb9..080581e31 100644 --- a/ARIA/apg/patterns/slider/examples/slider-temperature.md +++ b/ARIA/apg/patterns/slider/examples/slider-temperature.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/slider/examples/slider-temperature/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/spinbutton/examples/datepicker-spinbuttons.md b/ARIA/apg/patterns/spinbutton/examples/datepicker-spinbuttons.md index c0fddbb19..87db8a05e 100644 --- a/ARIA/apg/patterns/spinbutton/examples/datepicker-spinbuttons.md +++ b/ARIA/apg/patterns/spinbutton/examples/datepicker-spinbuttons.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/spinbutton/examples/datepicker-spinbuttons/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -71,8 +71,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -96,7 +95,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/switch/examples/switch-button.md b/ARIA/apg/patterns/switch/examples/switch-button.md index 1c00a2940..ce281452f 100644 --- a/ARIA/apg/patterns/switch/examples/switch-button.md +++ b/ARIA/apg/patterns/switch/examples/switch-button.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/switch/examples/switch-button/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/switch/examples/switch-checkbox.md b/ARIA/apg/patterns/switch/examples/switch-checkbox.md index a1b9ac8d8..d0c0b743f 100644 --- a/ARIA/apg/patterns/switch/examples/switch-checkbox.md +++ b/ARIA/apg/patterns/switch/examples/switch-checkbox.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/switch/examples/switch-checkbox/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/switch/examples/switch.md b/ARIA/apg/patterns/switch/examples/switch.md index 714175fd7..a68ec0f98 100644 --- a/ARIA/apg/patterns/switch/examples/switch.md +++ b/ARIA/apg/patterns/switch/examples/switch.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/switch/examples/switch/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/table/examples/sortable-table.md b/ARIA/apg/patterns/table/examples/sortable-table.md index 63ec1bf42..34328e8a7 100644 --- a/ARIA/apg/patterns/table/examples/sortable-table.md +++ b/ARIA/apg/patterns/table/examples/sortable-table.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/table/examples/sortable-table/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/table/examples/table.md b/ARIA/apg/patterns/table/examples/table.md index 60856a707..378104ba3 100644 --- a/ARIA/apg/patterns/table/examples/table.md +++ b/ARIA/apg/patterns/table/examples/table.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/table/examples/table/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -63,8 +63,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -88,7 +87,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/tabs/examples/tabs-automatic.md b/ARIA/apg/patterns/tabs/examples/tabs-automatic.md index f756f3f6c..50261a722 100644 --- a/ARIA/apg/patterns/tabs/examples/tabs-automatic.md +++ b/ARIA/apg/patterns/tabs/examples/tabs-automatic.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/tabs/examples/tabs-automatic/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/tabs/examples/tabs-manual.md b/ARIA/apg/patterns/tabs/examples/tabs-manual.md index 5887e22ef..89bcd4849 100644 --- a/ARIA/apg/patterns/tabs/examples/tabs-manual.md +++ b/ARIA/apg/patterns/tabs/examples/tabs-manual.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/tabs/examples/tabs-manual/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/toolbar/examples/toolbar.md b/ARIA/apg/patterns/toolbar/examples/toolbar.md index b3aed3e2f..30cbc86b1 100644 --- a/ARIA/apg/patterns/toolbar/examples/toolbar.md +++ b/ARIA/apg/patterns/toolbar/examples/toolbar.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/toolbar/examples/toolbar/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -79,8 +79,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -104,7 +103,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/treegrid/examples/treegrid-1.md b/ARIA/apg/patterns/treegrid/examples/treegrid-1.md index f288b1063..2cfb4fae7 100644 --- a/ARIA/apg/patterns/treegrid/examples/treegrid-1.md +++ b/ARIA/apg/patterns/treegrid/examples/treegrid-1.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/treegrid/examples/treegrid-1/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -88,8 +88,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -113,7 +112,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/treeview/examples/treeview-1a.md b/ARIA/apg/patterns/treeview/examples/treeview-1a.md index 45c15c953..98dedd4ee 100644 --- a/ARIA/apg/patterns/treeview/examples/treeview-1a.md +++ b/ARIA/apg/patterns/treeview/examples/treeview-1a.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/treeview/examples/treeview-1a/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -73,8 +73,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -98,7 +97,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/treeview/examples/treeview-1b.md b/ARIA/apg/patterns/treeview/examples/treeview-1b.md index df1978e1d..dc83902d4 100644 --- a/ARIA/apg/patterns/treeview/examples/treeview-1b.md +++ b/ARIA/apg/patterns/treeview/examples/treeview-1b.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/treeview/examples/treeview-1b/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -73,8 +73,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -98,7 +97,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/patterns/treeview/examples/treeview-navigation.md b/ARIA/apg/patterns/treeview/examples/treeview-navigation.md index c25e30cfd..02060b4d0 100644 --- a/ARIA/apg/patterns/treeview/examples/treeview-navigation.md +++ b/ARIA/apg/patterns/treeview/examples/treeview-navigation.md @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/treeview/examples/treeview-navigation/ sidebar: true -footer: " " +footer: " " # Context here: https://github.com/w3c/wai-aria-practices/issues/31 type_of_guidance: APG @@ -64,8 +64,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-

Read This First

- +

Read This First

The code in this example is not intended for production environments. @@ -89,7 +88,6 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
-
diff --git a/ARIA/apg/shared/templates/example-usage-warning.html b/ARIA/apg/shared/templates/example-usage-warning.html index 3d5b202ab..32ae12c46 100644 --- a/ARIA/apg/shared/templates/example-usage-warning.html +++ b/ARIA/apg/shared/templates/example-usage-warning.html @@ -3,6 +3,7 @@ Support Notice (Template) +

Read This First

The code in this example is not intended for production environments. diff --git a/scripts/pre-build/library/transformExample.js b/scripts/pre-build/library/transformExample.js index 62c9143b5..2057b1864 100644 --- a/scripts/pre-build/library/transformExample.js +++ b/scripts/pre-build/library/transformExample.js @@ -1,25 +1,25 @@ -const fs = require("fs/promises"); -const path = require("path"); -const { exec } = require("child_process"); -const { parse: parseHtml } = require("node-html-parser"); -const { format } = require("date-fns"); -const formatForJekyll = require("./formatForJekyll"); -const { rewriteSourcePath, sourceRoot } = require("./rewritePath"); -const rewriteElementPaths = require("./rewriteElementPaths"); -const removeDuplicateMainTag = require("./removeDuplicateMainTag"); -const wrapTablesWithResponsiveDiv = require("./wrapTablesWithResponsiveDiv"); -const removeConflictingCss = require("./removeConflictingCss"); +const fs = require('fs/promises'); +const path = require('path'); +const { exec } = require('child_process'); +const { parse: parseHtml } = require('node-html-parser'); +const { format } = require('date-fns'); +const formatForJekyll = require('./formatForJekyll'); +const { rewriteSourcePath, sourceRoot } = require('./rewritePath'); +const rewriteElementPaths = require('./rewriteElementPaths'); +const removeDuplicateMainTag = require('./removeDuplicateMainTag'); +const wrapTablesWithResponsiveDiv = require('./wrapTablesWithResponsiveDiv'); +const removeConflictingCss = require('./removeConflictingCss'); const loadNotice = async () => { const noticePath = path.resolve( sourceRoot, - "content/shared/templates/example-usage-warning.html" + 'content/shared/templates/example-usage-warning.html' ); - const noticeContent = await fs.readFile(noticePath, { encoding: "utf8" }); + const noticeContent = await fs.readFile(noticePath, { encoding: 'utf8' }); const html = parseHtml(noticeContent); return () => { - return html.querySelector("body").innerHTML; + return html.querySelector('body').innerHTML; }; }; @@ -37,7 +37,7 @@ const getLastModifiedDate = async (exampleFilePath) => { }); let dateFormatted; try { - dateFormatted = format(new Date(output), "d MMMM y"); + dateFormatted = format(new Date(output), 'd MMMM y'); } catch (error) { console.error( `Failed to extract a last-modified date for the file "${exampleFilePath}"` @@ -51,8 +51,8 @@ const transformExample = async (sourcePath, sourceContents) => { const { sitePath, githubPath } = rewriteSourcePath(sourcePath); const html = parseHtml(sourceContents); - const title = html.querySelector("h1").innerHTML; - html.querySelector("h1").remove(); + const title = html.querySelector('h1').innerHTML; + html.querySelector('h1').remove(); const slug = sitePath.match(/patterns\/([^/]+)\//)?.[1]; @@ -61,23 +61,16 @@ const transformExample = async (sourcePath, sourceContents) => { src="{{ '/content-images/wai-aria-practices/img/${slug}.svg' | relative_url }}" class="example-page-example-icon" />`; - if (html.querySelector(".advisement")) { - html.querySelector(".advisement").insertAdjacentHTML("afterend", img); + if (html.querySelector('.advisement')) { + html.querySelector('.advisement').insertAdjacentHTML('afterend', img); } else { - html.querySelector("h2").insertAdjacentHTML("afterend", img); + html.querySelector('h2').insertAdjacentHTML('afterend', img); } removeConflictingCss(html); const getNotice = await loadedNotice; - const notice = getNotice(); - html.querySelector("body").insertAdjacentHTML( - "afterbegin", - ` -

Read This First

- ${notice} - ` - ); + html.querySelector('body').insertAdjacentHTML('afterbegin', getNotice()); const lastModifiedDateFormatted = await getLastModifiedDate(sourcePath); @@ -86,11 +79,11 @@ const transformExample = async (sourcePath, sourceContents) => { const relatedLinksElement = html.querySelector( '[aria-label="Related Links"]' ); - const allRelatedLinks = relatedLinksElement.querySelectorAll("> ul > li > a"); + const allRelatedLinks = relatedLinksElement.querySelectorAll('> ul > li > a'); const relatedIssuesLinkElement = allRelatedLinks.find( - (link) => link.textContent.trim().toLowerCase() === "related issues" + (link) => link.textContent.trim().toLowerCase() === 'related issues' ); - relatedIssuesLinkElement.textContent = "View issues related to this example"; + relatedIssuesLinkElement.textContent = 'View issues related to this example'; const relatedIssuesLink = relatedIssuesLinkElement.outerHTML; relatedLinksElement.remove(); @@ -99,10 +92,10 @@ const transformExample = async (sourcePath, sourceContents) => { sitePath, githubPath, content: removeDuplicateMainTag( - wrapTablesWithResponsiveDiv(html.querySelector("body").innerHTML) + wrapTablesWithResponsiveDiv(html.querySelector('body').innerHTML) ), enableSidebar: true, - head: html.querySelector("head").innerHTML, + head: html.querySelector('head').innerHTML, footer: `