-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Coachmark accessibility #5155
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
Merged
Coachmark accessibility #5155
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2b7eabf
Add aria alert text
edwlmsft eea962f
Add keypress shortcut to open coachmark
edwlmsft ec0dad4
Have narrator announce TeachingBubbleContent text upon coachmark open…
edwlmsft f97afeb
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
689018c
Add aria-hidden to beak component
a4f5f14
Add aria-hidden to ariaAlert container once Coachmark is expanded. C…
6e9019a
Change back to FocusZone. Add ariaLabelled and ariaDescribedBy props…
1576232
Remove force focus on coachmark after mounting. Remove console logs
17ac4d7
Only render elements if ariaLabelledBy and ariaDescribedBy props are …
4fa9c4d
Update snapshot test for TeachingBubble
edwlmsft 1fd35d6
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
edwlmsft 752ef79
Add change file
edwlmsft e4c7b20
Add onKeyDown, change from FocusZone to FocusTrapZone. Remove setTim…
edwlmsft e70b32b
Merge branch 'coachmarkAccessibility' of https://github.com/leddie24/…
edwlmsft f2173de
Add escape key handler to TeachingBubbleContent
edwlmsft f1e86c5
Remove onClick, change from h1 to p
edwlmsft 344167f
Add back in setTimeout for appending ariaAlertText.
edwlmsft 93811cf
Change from aria-hidden to role="presentation" for Beak component.
edwlmsft 32029ac
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
edwlmsft ef70ee4
Fix inadvertent change to AppState.tsx file (checkout from master)
edwlmsft 101854f
Update Do's. Edit basic example ariaDescribedByText prop. Add chang…
edwlmsft 7774b0e
Change import path of FocusTrapZone to use relative path. Add alertT…
edwlmsft 3b1c254
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
edwlmsft 94b7034
Fix bad commits
edwlmsft 413e38d
remove unused css import for Beak
edwlmsft 89b06a9
fix bad commit for package.json in dashboard-grid-layout
edwlmsft e149c87
remove unused change file
edwlmsft 989b8b7
Fix teachingBubbleRef interface
edwlmsft 4884b00
Add line
edwlmsft b04c5b3
Remove redundant check for this.props.teachingBubbleRef. Move event …
edwlmsft 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
11 changes: 11 additions & 0 deletions
11
common/changes/office-ui-fabric-react/coachmarkAccessibility_2018-06-15-16-49.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,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "office-ui-fabric-react", | ||
| "comment": "Coachmark: Add accessibility features to component, ARIA props, narrator support, and keyboarding controls", | ||
| "type": "minor" | ||
| } | ||
| ], | ||
| "packageName": "office-ui-fabric-react", | ||
| "email": "edwl@microsoft.com" | ||
| } |
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
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
4 changes: 3 additions & 1 deletion
4
packages/office-ui-fabric-react/src/components/Coachmark/docs/CoachmarkDos.md
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 |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| - Only one Coachmark + TeachingBubble combo should be displayed at a time | ||
| - Coachmarks can be stand alone or sequential. Sequential Coachmarks should be used sparingly, to walk through complex multi-step interactions. It is recommended that a sequence of Coachmarks does not exceed 3 steps. | ||
| - Coachmarks are designed to only hold TeachingBubbles. | ||
| - Coachmarks are designed to only hold TeachingBubbles | ||
| - Provide descriptive text in the `ariaDescribedByText` prop to let accessibility impaired users know how to open/access the Coachmark with keyboard controls. (See example in documentation) | ||
| - The keyboard shortcut for opening the Coachmark is `Alt + C` |
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
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.
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.
@JasonGore Any suggestions here? I'm not quite sure how make the interface for teachingBubbleRef look nicer.