It’s Trivia Tuesday! Last week you said it was too easy. Well, here’s a more advanced question. 😉 Accessible names can be added to interactive elements in a number of ways. Did you know that there’s an order of priority? This means that one accessible name may ‘win’ over another if multiple are used. Knowing this order is helpful in creating predictable and identifiable controls for people with disability. Question: What is the accessible name of the following button? <h2 id=”product-name”>Red T shirt</h2> <button id=”cart-icon” aria-label=”Add to cart” aria-labelledby=”cart-icon product-name” title=”Cart”></button> A) "Cart” B) “Add to cart” C) “T shirt” D) “Add to cart Red T shirt” Take a guess in our poll or put your answer in the comments.
This content isn’t available here
Access this content and more in the LinkedIn app