Skip to content

Commit

Permalink
Tag accessibility doc update #5356
Browse files Browse the repository at this point in the history
  • Loading branch information
gucal committed Nov 23, 2023
1 parent 9b56779 commit 6054f0c
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions components/doc/tag/accessibilitydoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext';

export function AccessibilityDoc() {
return (
<DevelopmentSection>
<DocSectionText id="accessibility" label="Accessibility">
<h3>Screen Reader</h3>
<p>
Tag does not include any roles and attributes by default, any attribute is passed to the root element so aria roles and attributes can be added if required. If the tags are dynamic,
<i>aria-live</i> may be utilized as well. In case badges need to be tabbable, <i>tabIndex</i> can be added to implement custom key handlers.
</p>
<DocSectionText id="accessibility" label="Accessibility">
<h3>Screen Reader</h3>
<p>
Tag does not include any roles and attributes by default, any attribute is passed to the root element so aria roles and attributes can be added if required. If the tags are dynamic,
<i>aria-live</i> may be utilized as well. In case badges need to be tabbable, <i>tabIndex</i> can be added to implement custom key handlers.
</p>

<h4>Keyboard Support</h4>
<p>Component does not include any interactive elements.</p>
</DocSectionText>
</DevelopmentSection>
<h4>Keyboard Support</h4>
<p>Component does not include any interactive elements.</p>
</DocSectionText>
);
}

0 comments on commit 6054f0c

Please sign in to comment.