-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Operate Dialog in open mode to ensure accessible focus behavior (#15502)
* operate dialog in open mode to ensure accessible focus behavior is supported * Change files
- Loading branch information
1 parent
850d56c
commit 5babd0e
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...e/@fluentui-web-components-2020-10-13-15-51-52-users-chhol-reset-dialog-to-open-mode.json
This file contains 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,8 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "operate dialog in open mode to ensure accessible focus behavior is supported", | ||
"packageName": "@fluentui/web-components", | ||
"email": "chhol@microsoft.com", | ||
"dependentChangeType": "patch", | ||
"date": "2020-10-13T22:51:52.037Z" | ||
} |
This file contains 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
7 changes: 7 additions & 0 deletions
7
packages/web-components/src/dialog/fixtures/dialog-button-test.html
This file contains 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 @@ | ||
<fluent-design-system-provider use-defaults> | ||
<fluent-dialog id="foo" aria-label="Simple dialog" modal="true"> | ||
<h2>Dialog with text and fluent buttons. The first button should receive focus</h2> | ||
<fluent-button tabindex="0" id="element">Button Text</fluent-button> | ||
<fluent-button tabindex="0" id="element">Button Text</fluent-button> | ||
</fluent-dialog> | ||
</fluent-design-system-provider> |
This file contains 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