Open sara-amanda opened 1 year ago
Laura Flannery reached out to the a11y specialist group for feedback on this item and provided her current thoughts, below.
aria-label
to make sure it is announced properly by screen readers. aria may not be necessary.
the text preceding the number should identify what sort of number it is like main office phone.
Thoughts on TTY in general (since we're discussing phone #'s might as well add)- (use picture below for reference)
it should not say TTY unless that number is specific for a TTY operator that can respond in text. in which case, you may need to list both a phone and a TTY number and specify which is which.
TTY is probably redundant, unless you intend to answer voice phone calls with a TTY device. Deaf people who have a TTY device (or TTY software on their phone) will call the phone number and the TTY at their end will translate voice into a visual display.
TTY is only for teletype services (text only, using a modem, supporting deaf). It must not be used with voice lines.
Brian DeConinck said he is on board with removing the aria-label
, since that item in the style guide goes against what he was always taught about screen readers (don’t try to force how they pronounce things, trust users to be able to figure it out).
FYI - @coforma-terry @RLHecht @SarahKay8 @laurwill
Couple other things to keep everything in one place and for awareness:
- I have another ticket for a CMS phone number audit and the hope was to see how many actually are using aria (and following the other guidelines) But this would hopefully tell you how many did need to get updated
- If we did end up with a recommendation to no longer use the aria-label:
- We would want to work with the DST to update the component to remove aria from there was well so everything was consistent
- This would help to get rid of the false positive that keeps coming up in Siteimprove for our editors so I would love it
- There might also be some other hardcoded phone numbers that maybe are using aria that are older so aren't using the component that we would want to update
Not present in the results because I don't have the devices:
- Mac
- Android
- Summary
In general, phone numbers are read smoother when an aria label is included but this doesn't necessarily make them wrong
- TTY number on Desktop was read "wrong", as seven hundred and eleven instead of individual numbers
- Extensions were also read "wrong" in multiple instances, as the full number instead of individual numbers
- 800 was sometimes read as "eight hundred" but that is a known convention
cc: @coforma-terry @laurwill @megzehn
Hi @sara-amanda, thanks for this write-up.
For the TTY number and extensions that were read incorrectly, were there aria labels attached?
Is Laura ultimately recommending to keep the aria labels?
@megzehn @laflannery mentioned today (7/26/2023) in Slack the following:
For the aria labels, you will want to follow the guidelines in the VA Design system. While we have done some research on if these are still needed, we have no officially changed anything so you should still follow what is written here for both the phone number and the TTY number
@laflannery is this still stuck?
@eli-oat Yes a bit - I still don't have the ability to test on Mac or Android. If there was someone able to see how various phone numbers behaved with and without aria-labels on those devices we might be able to come to a determination if we wanted to update/change our guidelines around this.
@laflannery we don't have official guidance re: android testing, but CAIA can 100% check in on this using macOS VoiceOver to confirm there. I'll circle back as soon as that is done!
Thank you, I really appreciate it!
@laflannery
Environment- (Mac) Chrome + VO.
First video shows behavior of phone number without an aria-label
.
Second video shows behavior of phone number without an aria-label
Without an aria-label
VO is reading out eight hundred instead of 8 0 0
Is there a specific environment you'd like for me to test?
@SarahKay8 Spreadsheet here, if you wanted to add column for VoiceOver Mac and add results that would be helpful to have everything in one place
Thanks! Just requested access @laflannery
Feedback to spreadsheet has been added to "Voiceover Mac" column @laflannery
Thanks for testing this!! Just to reiterate, it seems like the consensus is to keep using the aria label for now. Is that correct, @sara-amanda?
Does this advice apply to fax numbers and numbers for texting as well?
Also, are we OK to close this ticket out?
CC @laflannery
@megzehn - I believe @laflannery and her team are making that final call based on the audit we did
@megzehn I would wait until we hear the final verdict from @laflannery. I can add a task list to this ticket, now that we are using task lists, too. Also, once the verdict is in, we will need to address if we are implementing the long-term solution
and addressing future considerations
. So, I would hold off on closing this for now.
open
ticket
relating to this CMS Phone number audit #13949.
@laflannery do you have any updates on the final call on this by chance?
An unofficial poll is that folks would prefer to hear the 3 digit numbers announced individually (9 1 1 instead of nine hundred and eleven) which would mean that we would need aria labels. However, I'm still pondering if would would want to include labels on every number or just these exceptions - like ones that don't follow a typical phone number pattern? Or am I just overthinking this entirely because I'm against using the labels?
Hi @laflannery!
I'm trying to add a status to this ticket. Do we want to chat about this over a call? Or just decide to keep following the standard guidance to add aria labels to all numbers?
Thanks again for looking into this!
Sorry @megzehn Yes, let's close this because I don't have good enough evidence or reasoning to change the guidance right now. I'm not saying I won't bring it up again in the future but let's just call it for now. Again so sorry I let this linger!
No worries at all!! Thanks so much for looking into it.
Hi @laflannery, sorry I have one more question before I close this!
@sara-amanda confirmed that our decision here applies to fax numbers as well. Is this the correct way to add an aria label to a fax number? Would we remove the phone link?
Fax your form and any supporting documents to <a href="tel:+18446788979" aria-label="8 4 4. 6 7 8. 8 9 7 9.">844-678-8979</a>
@megzehn I would not use an at all as I don't think this typically should be clickable. You are also correct in that we wouldn't want to use the tel:
protocol and have folks call a fax number, that would be very disruptive to the user.
My recommendation would be <p>Fax: 800-123-4567</p>
. My reasoning behind this:
<a>
tag without an href
should be used. However, when this is done, it becomes a non-interactive element.aria-label
attribute is not supported on non-interactive elements, meaning even if this is added, it's not going to be announced or used by assistive tech.aria-label
guidance and trying to come up with guidance for standard vs. non-standard seemed a bit duanting at the time.
aria-label
, it should be sufficient to add these using a non-interactive element and without this additional label.Let me know if there are use cases I might be missing that would contradict my thinking here, thanks!
Thanks so much @laflannery! I'm going to summarize some of the takeaways again. Let me know if any of this is wrong!
This latest test confirmed that screenreaders will announce standard numbers one digit at a time, rather than a giant number. But this isn't the case for nonstandard numbers, like 711 or 911, etc. Aria labels on phone numbers also sound smoother, so we're going to keep the current guidance as is and add aria labels to all phone numbers for consistency and experience.
Exception: We should remove aria labels from fax numbers. We don't want to make fax numbers interactive in the same way as phone numbers. But we should make it clear in the content that these are fax numbers (to avoid people accidentally calling them).
Also, I know we discussed some open questions that came out of this. I'm going to go ahead and open a backlog ticket for a11y to help us explore in the future these related questions:
This looks good to me @megzehn, thanks for summarizing!
@sara-amanda based on the summary above, do you want to weigh in on next steps? And are you OK with closing this ticket?
@laflannery I have another clarifying question!
It seems like Drupal automatically adds the<va telephone>
component to anything that looks like a phone number. Is that true?
If so, do we need to be manually adding aria labels on all phone numbers? Or are we duplicating efforts there?
@megzehn you ask a complicated question lol. The short answer is, no I wouldn't recommend putting aria-label
on any phone number because:
aria-label
be removed from the component so for consistency, it would be good not to include this anywhere going forwardLet me know if that makes sense and helps you or feel free to ping me if you have any other questions!
Adding in some notes from a fact finding mission I went on today.
In short: please hold off on taking any action to make a change at this moment.
Removing the aria label aligns with the latest widely held practice in the a11y community. Admittedly, the practices have evolved over time as phones keep getting smarter.
I validated that with newer phones (iPhone 13 in my case, both Safari and Chrome), a phone number on a web page will appear as a tappable link, even if there is no tag in the code. I don't think there will be any way to stop a fax number from being display as tappable on new phones, but my search didn't lead me down that particular rabbit hole today.
Interesting thing I learned: GOV.UK has no phone number links on their web pages! “Do not display telephone numbers as links on devices that cannot make calls.” That was an interesting rabbit hole. We don’t want to emulate GOV.UK this time. We want desktop users to be able to click a phone number link, they may want to use VOIP or FaceTime or some such application.
The OCTO a11y specialists and VA 508 office are all aligned but we want to verify this with user testing before the change is made. Problem: there is no team tasked to do this kind of research. It would have to be tacked onto another study. @davidakennedy has kindly offered to see if he can sneak this into an upcoming study.
This ticket has been moved to Blocked
to reflect the hold request from Martha.
@sara-amanda Looks like the design system team has moved forward with these changes in the PR. The change is in production. @rsmithadhoc will be working with CAIA to get the content guidelines updated.
Thanks DK. I think this ticket can be closed since the change happened via the other ticket.
Original Ticket
CAIA-Related Inquiry
Long-Term Recommendation
The long-term recommendation would be to avoid using ARIA, per CAIA A11ys.
Rationale
Issue Complicating Things
Short-Term Recommendation
While Laura F. finishes testing, she is recommending that we continue the use of the aria labels as the style guide instruct, until they are officially changed.
Example Formatting for Short-Term Updates
Future Considerations