Bug 224370 - iPhone: VoiceOver click event not being applied to <title> of aria-hidden SVG inside button
Summary: iPhone: VoiceOver click event not being applied to <title> of aria-hidden SVG...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 14
: P2 Blocker
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-09 08:47 PDT by pbtanisha
Modified: 2021-07-25 21:20 PDT (History)
3 users (show)

See Also:


Attachments
Screenshot showing the button which is not functioning when VoiceOver is ON (13.21 KB, image/jpeg)
2021-04-09 08:47 PDT, pbtanisha
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pbtanisha 2021-04-09 08:47:53 PDT
Created attachment 425620 [details]
Screenshot showing the button which is not functioning when VoiceOver is ON

We are having a responsive web application that can be accessed in all devices (Desktop, Mobile, Tablet). Here’s one blocker observed in our web application while accessed only on Mobile device with Voice Over on - 
 
       The click event is being applied to the <title> element inside the SVG, despite the SVG being marked at aria-hidden. And, the hit event is not bubbling up to the <button> like it should. This only happens when VoiceOver is on, when it's off the click event is applied to the <button> like we expect.
 
The attached Screenshot showing the button which is not functioning when VoiceOver is ON - 
 
Button markup:
 
<div class="mfp-wrap  mfp-close-btn-in mfp-align-top mfp-auto-cursor border-box-sizing special-offers mfp-ready" tabindex="-1" style="overflow: hidden scroll;" aria-label="Special Offers Sign Up" role="dialog">
<div class="mfp-container mfp-s-ready mfp-iframe-holder">
<div class="mfp-content" style="height: 676px;">
<div class="mfp-iframe-scaler"><div class="mfp-close-wrapper">
<div class="mfp-close-inner-wrapper">
<button class="mfp-close icon-no-text" data-test-id="mfp-close" aria-label="Close">
<svg class="svg-icon svg-icon-open-close" aria-hidden="true" tabindex="-1">
<use xlink:href="#icon-open-close" aria-hidden="true" tabindex="-1">
</use>
</svg>
</button>
</div>
</div>
<iframe class="mfp-iframe" src="https://book.princess.com/captaincircle/specialOfferRegistration.page?popupCondition=special-offers-button-click&amp;pageSection=headerbar&amp;formType=popup" frameborder="0" allowfullscreen="" title="Special Offers Sign Up">
</iframe>
Comment 1 Radar WebKit Bug Importer 2021-04-12 16:02:52 PDT
<rdar://problem/76562853>