From fababc6a83a85b89c499aed3a477d162d71fa2a4 Mon Sep 17 00:00:00 2001 From: Mike Gower Date: Thu, 29 Aug 2024 12:45:40 -0700 Subject: [PATCH] Update accessibility.mdx (#4184) * Update accessibility.mdx Tried moving the accessibility status to the bottom of the page, as per #3960 Since the H3 is generated in code, I'm just leaving it as is. Expectation is that this will be a subsection of Development considerations, which works fine. Not showing up in preview. * Move accessibility testing to bottom of tabbed content Changed 28 components that were previously revised to the standard accessibility tab layout * Relocate testing on non-standard pages Move the accessibility testing to the bottom of pages that have not been updated to the current accessibility tab template * Corrections from manual check A number of pages had the A11yStatus formed with indented code, so my GSR failed to locate. As well, a manual check of each page (which I did by navigating to the Accessibility tab and clicking the Development considerations on-page link), showed that a few of the on-page links were malformed. * Update accessibility.mdx Missed popover testing section * Removed old testing information These five components had not had their Accessibility tab info updated due to various reasons. We elected to strip out the old testing results. I left the H2 for Testing in place. * Update accessibility.mdx Adding top description to list component. --- .../UI-shell-header/accessibility.mdx | 4 +- .../UI-shell-left-panel/accessibility.mdx | 4 +- .../UI-shell-right-panel/accessibility.mdx | 4 +- .../components/accordion/accessibility.mdx | 4 +- .../components/breadcrumb/accessibility.mdx | 4 +- src/pages/components/button/accessibility.mdx | 4 +- .../components/checkbox/accessibility.mdx | 4 +- .../components/code-snippet/accessibility.mdx | 4 +- .../contained-list/accessibility.mdx | 4 +- .../content-switcher/accessibility.mdx | 4 +- .../components/data-table/accessibility.mdx | 4 +- .../components/date-picker/accessibility.mdx | 42 +--- .../components/dropdown/accessibility.mdx | 24 +-- .../file-uploader/accessibility.mdx | 4 +- src/pages/components/form/accessibility.mdx | 10 +- .../inline-loading/accessibility.mdx | 4 +- src/pages/components/link/accessibility.mdx | 4 +- src/pages/components/list/accessibility.mdx | 13 +- .../components/loading/accessibility.mdx | 4 +- .../components/menu-buttons/accessibility.mdx | 4 +- src/pages/components/modal/accessibility.mdx | 4 +- .../components/notification/accessibility.mdx | 183 +----------------- .../components/number-input/accessibility.mdx | 10 +- .../components/pagination/accessibility.mdx | 4 +- .../components/popover/accessibility.mdx | 4 +- .../components/progress-bar/accessibility.mdx | 4 +- .../progress-indicator/accessibility.mdx | 42 +--- .../components/radio-button/accessibility.mdx | 4 +- src/pages/components/search/accessibility.mdx | 4 +- src/pages/components/select/accessibility.mdx | 4 +- src/pages/components/slider/accessibility.mdx | 4 +- .../structured-list/accessibility.mdx | 42 +--- src/pages/components/tabs/accessibility.mdx | 4 +- src/pages/components/tag/accessibility.mdx | 6 +- .../components/text-input/accessibility.mdx | 20 +- src/pages/components/tile/accessibility.mdx | 42 +--- src/pages/components/toggle/accessibility.mdx | 4 +- .../components/toggletip/accessibility.mdx | 4 +- .../components/tooltip/accessibility.mdx | 4 +- .../components/tree-view/accessibility.mdx | 4 +- 40 files changed, 108 insertions(+), 442 deletions(-) diff --git a/src/pages/components/UI-shell-header/accessibility.mdx b/src/pages/components/UI-shell-header/accessibility.mdx index 0007808b336..844afc9fd23 100644 --- a/src/pages/components/UI-shell-header/accessibility.mdx +++ b/src/pages/components/UI-shell-header/accessibility.mdx @@ -34,8 +34,6 @@ standard UI shell header component, Carbon already incorporates accessibility. - - ## What Carbon provides The Carbon header bakes in keyboard interaction, including a @@ -148,3 +146,5 @@ custom component. the region. - Carbon includes the "Skip to main content" link as the first item on the page with a `tabindex="0"`, but hides it through CSS until it receives focus. + + diff --git a/src/pages/components/UI-shell-left-panel/accessibility.mdx b/src/pages/components/UI-shell-left-panel/accessibility.mdx index b36ecfd6d15..9b72e5ab70f 100644 --- a/src/pages/components/UI-shell-left-panel/accessibility.mdx +++ b/src/pages/components/UI-shell-left-panel/accessibility.mdx @@ -34,8 +34,6 @@ component. - - ## What Carbon provides Carbon bakes keyboard operation into its components, improving the experience of @@ -111,3 +109,5 @@ custom component. additional information to assistive technologies. - Each 'sub-menu' is implemented as a `