Re: Fix Suggestions please? SVG image button not accessible on iOS 13 mobile

 


Poornima,

What does the href "#icon-open-close" refer to?

 

Jim Saiya
Senior Software Engineer
Ann Arbor, MI

✆ 703.731.5119
✉ jsaiya@formatdata.com
[in] www.linkedin.com/in/jimsaiya




On Tue, 15 Sep 2020 15:57:15 +0000, "Subramanian, Poornima (PCL)" <psubramanian@hagroup.com> wrote:

 




Hi All, 

 

A SVG image button not functioning on iOS 13 mobile device with Voice Over. We tried couple of fixes like e.g. aria-hidden on SVG. It’s strange the same button is working on Desktop with JAWS / NVDA, but only on iOS 13, it’s not working. 

 

Below is its markup, any suggestions for the fixes? 

 

<button class="mfp-close icon-no-text" data-test-id="mfp-close" aria-label="Close">

<svg class="svg-icon svg-icon-open-close">

<use xlink:href="#icon-open-close"></use>

</svg></button>

 

.mfp-content .mfp-close.icon-no-text {

    background: transparent;

    height: 44px;

    width: 44px;

    opacity: 1;

    position: absolute;

    margin: 0;

    top: 7px;

    right: -10px;

    text-indent: 0;

    border-radius: initial;

    padding: 0;

    text-align: center;

}

.mfp-content .mfp-close.icon-no-text > svg {

    color: #000;

    background: #fff;

    border-radius: 50%;

    width: 30px;

    height: 30px;

    pointer-events: none;

}

 

Thank you

 

Best,

Poornima

The information contained in this email and any attachment may be confidential and/or legally privileged and has been sent for the sole use of the intended recipient. If you are not an intended recipient, you are not authorized to review, use, disclose or copy any of its contents. If you have received this email in error please reply to the sender and destroy all copies of the message. Thank you.

To the extent that the matters contained in this email relate to services being provided by Princess Cruises and/or Holland America Line (together "HA Group") to Carnival Australia/P&O Cruises Australia, HA Group is providing these services under the terms of a Services Agreement between HA Group and Carnival Australia.

Received on Tuesday, 15 September 2020 16:21:01 UTC