Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7118896

Browse files
committed
docs: add comment about description setup
1 parent b127195 commit 7118896

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugins/backstage-plugin-coder/src/components/CoderAuthForm/CoderAuthForm.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ export const CoderAuthForm = ({
2121

2222
return (
2323
<>
24+
{/*
25+
* By default this text will be inert, and not be exposed anywhere
26+
* (Sighted and blind users won't be able to interact with it). To enable
27+
* it for screen readers, a consuming component will need bind an ID to
28+
* another component via aria-describedby and then pass the same ID down
29+
* as props.
30+
*/}
2431
<p id={descriptionId} hidden>
2532
Please authenticate with Coder to enable the Coder plugin for Backstage.
2633
</p>

0 commit comments

Comments
 (0)