WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 267445
268340
AX: VoiceOver ARIA role="text" is no longer supported in iOS v17.2
https://bugs.webkit.org/show_bug.cgi?id=268340
Summary
AX: VoiceOver ARIA role="text" is no longer supported in iOS v17.2
sejeong
Reported
2024-01-29 15:35:09 PST
I've been using role="text" for VoiceOver focus behavior on iPhone & iPad, but have noticed that it hasn't been working properly since iOS v17.2 I learned that role="text" is a deprecated practice and was eventually removed from the ARIA specification. Until then, we were using role="text" to merge HTML text focuses into one. I know that for form, button elements, I can use the HTML button tag or role="button" or something like that to tie the focus together. However, I need something to bind text elements that are not feature elements. You may be familiar with the phenomenon of breaking the focus area of a text element in VoiceOver. The HTML structure below illustrates the case where the focus is split. For example, we want to announce id="text-box" with a single focus. This could be accomplished using role="text" until iOS v17.2. Announce: “This is a one-month history of data. Measured numbers may vary from actual.” <div id=“text-box” role=“text”> <div>This is a <strong>one-month</strong> history of data.</div> <div>Measured numbers may vary from <span>actual.</span></div> </div> However, starting with iOS v17.2, text will be fragmented and focused in the following order. 1. “This is a” 2. “one-month” 3. “history of data.” 4. “Measured numbers may vary from” 5. “actual.” The strong and span tags are a necessary part of semantic markup, but in a mobile VoiceOver environment, they create an unnecessary break in focus. Do you have any plans to provide an alternative in the future? Alternatively, if you have any guidance on how to bind focus to text elements, I would appreciate it. Thank you for your hard work.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-29 15:35:20 PST
<
rdar://problem/121886335
>
Tyler Wilcock
Comment 2
2024-01-29 16:25:42 PST
Hi there, we reverted this removal here:
https://bugs.webkit.org/show_bug.cgi?id=267445
I'm going to close this bug as a duplicate of that one. I'll post here when the aforementioned bug is in a release.
Tyler Wilcock
Comment 3
2024-01-29 16:25:46 PST
*** This bug has been marked as a duplicate of
bug 267445
***
Tyler Wilcock
Comment 4
2024-03-06 09:04:11 PST
Hi again. This should be fixed as of iOS 17.4.
sejeong
Comment 5
2024-03-06 17:02:28 PST
@Tyler Wilcock Thanks for letting us know. I have verified that it is working fine.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug