-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Add accessibility scenariose for Fluent UI v9 components #2 #21651
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
Merged
Juraj Kapsiar (jurokapsiar)
merged 93 commits into
microsoft:master
from
adamsamec:accessibility-scenarios2
May 6, 2022
Merged
Changes from 79 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
074ae28
Add accessibility scenarios for the Accordion, Button and Popover com…
adamsamec 3352e77
Change scenario titles
adamsamec 5e45bbd
Use string directly as component prop value
adamsamec cd895a1
Merge remote-tracking branch 'origin' into accessibility-scenarios
adamsamec f126e6d
Merge branch 'accessibility-scenarios' of https://github.com/adamsame…
adamsamec 0e82680
replace alert with status text and fix warnings
adamsamec f9c34fc
Replace useCallback with ordinary function
adamsamec 930148b
Revert the title for the scenarios list page
adamsamec 49691d4
Removed unnecessary fragment
adamsamec 8bdd2c0
Use <Label> components
adamsamec cfe3331
Remove not used exports
adamsamec 7cf5b9c
Merge master
adamsamec f4ea222
Change files
562db7c
Replace Calendar buttons scenario with Messenger buttons scenario, ad…
adamsamec d1a35ad
Merge branch 'accessibility-scenarios' of https://github.com/adamsame…
adamsamec c0676e7
Add ToggleButton component scenario and replace button element with B…
adamsamec adca036
Merge branch 'master' into accessibility-scenarios
adamsamec b8f0d1d
Merge branch 'master' into accessibility-scenarios
adamsamec 8ad4bca
Replace calendar scenario link with messenger scenario link and gramm…
adamsamec 2ef8dd4
Add Link component scenario, and small changes in Accordion
adamsamec 5858cc2
Add beta version of SplitButton scenario
adamsamec 1192d34
Make SplitButton scenario working
adamsamec a4861c3
Change label for menu button within SplitButton
adamsamec 9ef8fdc
Replace Button with MenuButton in Menu scenario
adamsamec 39a2008
Merge branch 'master' into accessibility-scenarios
adamsamec 98b93cb
Fix error in Menu scenario
adamsamec 19f3ecd
Merge branch 'master' into accessibility-scenarios
adamsamec d7e8650
Refactor aria-label for menu button within split button
adamsamec 97dba3f
Extract Postpone menu item into separate button
adamsamec 6e4f0b6
Add tooltip button without triggerAriaAttribute prop
adamsamec b9495c7
Merge branch 'master' into accessibility-scenarios
adamsamec 71d6349
Add other gender radio option
adamsamec b2cee2c
Rename disabled links and add nav region
adamsamec bff21cf
Add heading and description for toggle buttons
adamsamec d7a5eea
Add FAQ accordion scenario and change radios in personal form accordi…
adamsamec d731e75
Add h1 for accordion scenarios
adamsamec cbcf7bd
Fix lint errors and change Tooltip scenario for more real life examples
adamsamec 54aef09
Add icon buttons for Tooltip scenario
adamsamec 1cf3536
Merge branch 'master' into accessibility-scenarios
adamsamec 9d95202
Add x of Y and Submit button to simple form accordion scenario
adamsamec 0ac2a8f
Add menu with split item scenario
adamsamec c68c2f5
Change menu items in menu with split item scenario
adamsamec 15b1fed
Merge branch 'master' into accessibility-scenarios
adamsamec c41c0ba
Fix visible label in split button in menu secondary action
adamsamec 4e10fe2
Remove X of Y in Accordion scenario
adamsamec 589d404
Enable dismiss of tooltip with Escape
adamsamec b552a69
Move password hint button between password label and input field
adamsamec 9a78db1
Reintroduce X of Y for personal form accordion scenario
adamsamec 2750d26
Add as='h2' for accordion headers
adamsamec fd65b42
Remove X of Y in personal form accordion scenario
adamsamec 2a10532
Merge branch 'master' into accessibility-scenarios
adamsamec 8128639
Merge branch 'master' into accessibility-scenarios
adamsamec 1c55025
Fix Tooltip error regarding relationship attribute
adamsamec 06cc182
Merge branch 'master' into accessibility-scenarios
adamsamec d371644
Add uncomplete Input scenario
adamsamec 576e8ec
Add slider component scenario and fix TS error in Input scenario
adamsamec 7153067
Change files
adamsamec e2caadf
Fix import errors
adamsamec effff28
Add screen reader supported validation to input scenario form
adamsamec 9571be7
Add lint disable next line for complex object
adamsamec 74f98df
Rename labels in slider scenario
adamsamec 643ddf9
Remove errorneously inserted unused declaration and import
adamsamec 41efa6c
Merge branch 'master' into accessibility-scenarios2
adamsamec 0ad7cfa
Replace <input> with <Input> and add <form>
adamsamec 0671176
Remove already not needed import error ignore comments
adamsamec 703885e
Add onBlur validation for Input scenario and changed input requiremen…
adamsamec 8b48678
Replace 'any' with new type
adamsamec f25e9d1
Fix error messages flickering
adamsamec 395b297
Add aria=invalid in Input scenario
adamsamec fe3da60
Fix nickname typo
adamsamec 76895f1
Replace h1 heading with h2
adamsamec 54224b7
Implement form validation using React Hook Form
adamsamec 3d26d6f
Ignore line max length lint error and add react-hook-form dependency
adamsamec aed87de
Focus error element upon form submission and narrate when already foc…
adamsamec 3702466
Change form revalidate to onBlur
adamsamec cdc1c17
Replace custom validation with React Hook Form library, but narration…
2833476
toggle alert role to force re-reading of errors
cdb3f7f
Merge master
2670641
fix narration on submit
344def2
Merge master
adamsamec 3a035e8
Merge branch 'master' into accessibility-scenarios2
adamsamec 9bd51d5
Merge branch 'master' into accessibility-scenarios2
adamsamec e2c1013
Fix onblur error narration instead of first error narration on submit
adamsamec aac3bc5
Remove pubsub dependancy which was moved to root
adamsamec 102ebca
Merge branch 'master' into accessibility-scenarios2
adamsamec e72718c
Remove the password hint scenario for Tooltip component
adamsamec 03324c3
fix lint issues
140f833
fix package
6f825f8
fix
0efa089
Merge branch 'master' into accessibility-scenarios2
adamsamec a610f5f
Merge remote-tracking branch 'origin/master' into accessibility-scena…
9e71aed
cleanup
a836ad7
Merge remote-tracking branch 'upstream/master' into accessibility-sce…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-components-ee7b5914-40cd-4950-b46d-d75c94ad4037.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "Add uncomplete Input scenario", | ||
| "packageName": "@fluentui/react-components", | ||
| "email": "adam.samec@gmail.com", | ||
| "dependentChangeType": "patch" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
packages/react-components/src/AccessibilityScenarios/Accordion2.stories.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/react-components/src/AccessibilityScenarios/Button.stories.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.