-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: a11y docs structure update #24871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: move spinbutton a11y spec to Concepts/Developer/Accessibility", | ||
| "packageName": "@fluentui/react-components", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: move spinbutton a11y spec to Concepts/Developer/Accessibility", | ||
| "packageName": "@fluentui/react-spinbutton", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| import { Meta } from '@storybook/react'; | ||
| import { SpinButton } from '@fluentui/react-components'; | ||
|
|
||
| import accessibilityMd from './SpinButtonAccessibility.md'; | ||
| import descriptionMd from './SpinButtonDescription.md'; | ||
| import bestPracticesMd from './SpinButtonBestPractices.md'; | ||
|
|
||
|
|
@@ -21,7 +20,7 @@ const meta: Meta = { | |
| parameters: { | ||
| docs: { | ||
| description: { | ||
| component: [descriptionMd, bestPracticesMd, accessibilityMd].join('\n'), | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about linking from the SpinButton to the a11y docs
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup, it’s in the plan! I’m going to be adding an a11y authoring section next to best practices that will link to the full descriptive spec |
||
| component: [descriptionMd, bestPracticesMd].join('\n'), | ||
| }, | ||
| }, | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this just a stub for later? should we ommit empty areas for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, though that wasn’t added in this PR. For now I’m just moving the files and updating the docs nav structure, and sometime this week I plan to fill in these sections 😄