Skip to content
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

iOS VoiceControl does not focus on text input saying "tap [accessible name]" if label hidden #70

Open
shabana-ali opened this issue Jun 30, 2022 · 2 comments
Labels
assistive tech Assistive technology may be misbehaving ios Platform: iOS voice control Audit task: use Apple’s Voice Control

Comments

@shabana-ali
Copy link
Contributor

Problem

Issue first seen https://github.com/hmrc/accessibility-audits-external/issues/1539

Quick tests carried out in June 2022 with Mac VoiceControl, Dragon and Android VoiceAccess - successfully focused on text input even when label was visually hidden - example page used to test https://www.w3.org/WAI/tutorials/forms/labels/#hiding-label-text

Note, show numbers work with iOS VoiceControl so this would not be classed as inaccessible.

Comments from Adam:

So, I’d want to put together a test-case to compare the two side-by-side.
But from that page it looks like when the label is hidden the name exposed to VC becomes “text”, whereas when the label is visible the name becomes the label’s.
You can see this by saying “Show names” in iOS.
So when the label is hidden, saying “tap text” selects the input.
...
I often use “tap text” when testing with VC and you can see it in UR videos of people using speech recognition in real-world tests too.

Comments from Shabana:

Investigating a few things with Voice Control on iOS and have noticed:

  • “text” is assigned to all text inputs so saying “tap text” where there are multiple, e.g. https://design-system.service.gov.uk/components/date-input/default/index.html it displays numbers against them to make your selection. You can use the label also.
  • Checkboxes as assigned the “button” name so saying “tap button” where there are multiple it displays number against them. You can use the label also.
  • Nothing for radios or buttons
    So iOS Voice Control seems to have these extra commands but a “bug” not supporting when label is hidden.

Solution

Outcome of this investigation is whether:

  • need to report this iOS support
  • when providing guidance, do not recommend visually-hiding label
@shabana-ali shabana-ali added assistive tech Assistive technology may be misbehaving ios Platform: iOS voice control Audit task: use Apple’s Voice Control labels Jun 30, 2022
@ashfaqhussain357
Copy link

Check HMRC design system (UTR) to see if this still an issue.

@ashfaqhussain357
Copy link

ashfaqhussain357 commented Sep 17, 2024

UTR design system has been updated with label visible but may exist on some complex page pattern services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assistive tech Assistive technology may be misbehaving ios Platform: iOS voice control Audit task: use Apple’s Voice Control
Projects
Status: Done
Development

No branches or pull requests

2 participants