-
Notifications
You must be signed in to change notification settings - Fork 58
Accessibility fix for Select and Dropdown components #918
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
base: main
Are you sure you want to change the base?
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #918 +/- ##
==========================================
- Coverage 84.66% 84.61% -0.05%
==========================================
Files 1099 1100 +1
Lines 20416 20489 +73
Branches 7718 7749 +31
==========================================
+ Hits 17285 17337 +52
- Misses 3044 3065 +21
Partials 87 87 ☔ View full report in Codecov by Sentry. |
@@ -915,6 +916,7 @@ export const Select: FC<SelectProps> = React.forwardRef( | |||
shape={selectShapeToTextInputShapeMap.get(mergedShape)} | |||
size={selectSizeToTextInputSizeMap.get(mergedSize)} | |||
value={selectedOptionText} | |||
clearButtonAriaLabel={clearButtonAriaLabel} |
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.
this should be inside clear props
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.
I don't see any such prop on clear button? Am I missing something @sravichandran-eightfold
…bhishek/ENG-120354
SUMMARY:
Updating aria-label attribute for the clear text button to make the element accessible.
GITHUB ISSUE (Open Source Contributors)
JIRA TASK (Eightfold Employees Only):
https://eightfoldai.atlassian.net/browse/ENG-120354
CHANGE TYPE:
TEST COVERAGE:
TEST PLAN: