-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[A11y] Keyboard & Inputs #79149
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
[A11y] Keyboard & Inputs #79149
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9395a01
Fix #76903: Include category name in switch label
rushatgabhane 0c08105
Fix #76907: Include subtitle in toggle switch label
rushatgabhane c073d9c
Fix #76908: Fix disabled state announcement order in pressables
rushatgabhane a2e84b5
Fix #76910: Always return button role instead of presentation
rushatgabhane e40af86
Fix #76911: Include alternate text in list item labels
rushatgabhane 2dfbcae
Fix #76947: Remove redundant floating action text from labels
rushatgabhane 72e3a03
Fix #76949: Add descriptive label to copilot learn more link
rushatgabhane abf2c59
Fix #76952: Add context to banner close button label
rushatgabhane 8366313
Fix #76959: Add context to popover menu back button
rushatgabhane 2d3cdbd
Fix #76961: Add custom accessibility label for select all checkbox
rushatgabhane 4f326fc
Fix #77534, #77541, #77546: Add combobox role and accessibility state…
rushatgabhane 79fa700
Fix #77561: Add button role to calendar picker controls
rushatgabhane cee5adf
Fix #77570: Remove presentation role from amount input
rushatgabhane 28ed4b9
Add accessibilityLabel prop to MenuItem
rushatgabhane daf55cd
Fix #77498: Update FAB button label to "Open actions menu"
rushatgabhane 1f25add
Merge branch 'main' into a11y/keyboard-inputs
rushatgabhane 5f4c11e
run pretty
rushatgabhane 188227e
Revert "Fix #77534, #77541, #77546: Add combobox role and accessibili…
rushatgabhane b9aefb8
Revert "Fix #76908: Fix disabled state announcement order in pressables"
rushatgabhane f7ef12d
rm unused accessibilitylabel
rushatgabhane fe4c4ef
Revert "rm unused accessibilitylabel"
rushatgabhane b961b29
use accessiblity label
rushatgabhane 4e979ca
only include alternate text if it differs
rushatgabhane 6a46491
swapping when shouldShowDescriptionOnTop
rushatgabhane a3ba3d0
Revert "Fix #76961: Add custom accessibility label for select all che…
rushatgabhane 4ba6543
fix #76907
rushatgabhane 2f40523
fix #76911 - pass subtitle to selection list
rushatgabhane 53f10a9
fix string case
rushatgabhane 4c6a214
add memoized accessibility label for report fields
rushatgabhane 933a6a2
use reportFieldsAccessibilityLabel for switch
rushatgabhane bb6dd4b
fix merge
rushatgabhane df176d2
fix merge
rushatgabhane 38911b3
fix merge
rushatgabhane 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import CONST from '@src/CONST'; | ||
| import type {GetButtonRole} from './types'; | ||
|
|
||
| const getButtonRole: GetButtonRole = (isNested) => (isNested ? CONST.ROLE.PRESENTATION : CONST.ROLE.BUTTON); | ||
| const getButtonRole: GetButtonRole = () => CONST.ROLE.BUTTON; | ||
|
|
||
| // eslint-disable-next-line import/prefer-default-export | ||
| export {getButtonRole}; |
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
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
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
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
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
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.
We also need to add alternateText in SelectionList -> BaseListItem to fix issue #76911
App/src/components/SelectionList/ListItem/BaseListItem.tsx
Line 115 in c26c976
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.
thank you, fixed!
2f40523