open-accessibility icon indicating copy to clipboard operation
open-accessibility copied to clipboard

does the close button also need to be accessible?

Open boynet opened this issue 8 years ago • 0 comments

right now this is the html of the closed button:

<div class="open-accessibility-close-button">
    <!--?xml version="1.0" encoding="utf-8"?-->
    <svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">
        <path fill="#000000" d="M22,20l5.9,5.9l-2,2L20,22l-5.9,5.9l-2-2L18,20l-5.9-5.9l2-2L20,18l5.9-5.9l2,2L22,20z"></path>
    </svg>
</div>

maybe add <span class="sr-only">סגור</span> or aria-label="Close"

boynet avatar Oct 25 '17 18:10 boynet