Bug 215484 - VoiceOver not able to invoke play button on some web sites.
Summary: VoiceOver not able to invoke play button on some web sites.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-13 18:22 PDT by Andres Gonzalez
Modified: 2020-08-14 14:58 PDT (History)
9 users (show)

See Also:


Attachments
Patch (11.50 KB, patch)
2020-08-13 18:31 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gonzalez 2020-08-13 18:22:15 PDT
VoiceOver not able to invoke play button on some web sites.
Comment 1 Andres Gonzalez 2020-08-13 18:31:25 PDT
Created attachment 406563 [details]
Patch
Comment 2 Andres Gonzalez 2020-08-13 18:33:51 PDT
<rdar://problem/62729643>
Comment 3 Andres Gonzalez 2020-08-13 18:38:41 PDT
For instance, the play buttons in https://threema.ch/en/faq/callsounds.
Comment 4 EWS 2020-08-13 22:33:42 PDT
Committed r265645: <https://trac.webkit.org/changeset/265645>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406563 [details].
Comment 5 Darin Adler 2020-08-14 14:57:38 PDT
Comment on attachment 406563 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=406563&action=review

> Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:90
> +        for (auto eventName : touchEventNames) {

This should use auto& so we get const AtomString&, rather than auto, which gives us AtomString, otherwise we will have unnecessary reference count churn.
Comment 6 Darin Adler 2020-08-14 14:58:34 PDT
Comment on attachment 406563 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=406563&action=review

>> Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:90
>> +        for (auto eventName : touchEventNames) {
> 
> This should use auto& so we get const AtomString&, rather than auto, which gives us AtomString, otherwise we will have unnecessary reference count churn.

Because we’re using reference_wrapper that might require adding a * below. But it will make things a tiny bit more efficient.