-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Labels
Component: Number fielda11yIssues or PRs related to accessibilityIssues or PRs related to accessibilitybugSomething isn't workingSomething isn't working
Description
Code of conduct
- I agree to follow this project's code of conduct.
Impacted component(s)
sp-number-field
Expected behavior
The Number field increase/decrease buttons should use less technical and more specific text
We should use Increase/Decrease NOT Increment/Decrement
We should also use the number fields label as part of the text
So For
<sp-field-label for="units">Package width</sp-field-label>
<sp-number-field
id="units"
style="width: 200px"
value="4"
format-options='{
"style": "unit",
"unit": "inch",
"unitDisplay": "long"
}'
></sp-number-field>
The buttons should be "Increase Package width" and "Decrease Package Width"
Actual behavior
Currently the buttons are labeled Increment/Decrement
Screenshots
No response
What browsers are you seeing the problem in?
Firefox, Chrome, Safari, Microsoft Edge
How can we reproduce this issue?
- Go to https://opensource.adobe.com/spectrum-web-components/components/number-field/
- Right Click on an increase/decrease button
- Inspect the Accessible Name in the Accessibility tab of Dev Tools
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
Metadata
Metadata
Assignees
Labels
Component: Number fielda11yIssues or PRs related to accessibilityIssues or PRs related to accessibilitybugSomething isn't workingSomething isn't working