Bug - NumberInput: values/validation status not announced to assistive tech on update
Describe the problem Followup to #7806. Relevant comment chains: https://github.com/patternfly/patternfly-react/pull/7806#pullrequestreview-1077847330, https://github.com/patternfly/patternfly-react/pull/7806#pullrequestreview-1077854208, and https://github.com/patternfly/patternfly-react/pull/7806#issuecomment-1220611457
How do you reproduce the problem?
- Go to Number input
- Turn on VoiceOver or another screen reader
- Use keyboard to update the input (either via the +/- buttons or within the input itself)
- Notice the value does not get announced
- In Chromium browsers, updating via buttons or via the input itself does not trigger an announcement. In Firefox and Safari, updating via the input announces the new value but updating via the buttons does not.
Expected behavior The new value of the input and/or the validation status is announced to assistive tech
Is this issue blocking you? N/A
Screenshots N/A
What is your environment? N/A
What is your product and what release date are you targeting? N/A
Any other information? N/A
Can we verify if this is still an issue?
@kmcfaul as of v6 staging, yes. Looks like all 3 browsers previously mentioned do at least announce something has changed when updating directly within the input itself (Chromium only announces "Selection replaced", whereas Firefox/Safari announce the actual new number). However, updating via the -/+ controls there's no announcement/confirmation that anything has happened.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.