Difference between revisions of "Aria-describedby aria-hidden"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | A button with aria-describedby that references the | + | A button with aria-describedby that references the text after the button that is hidden with aria-hidden true. |
<html> | <html> | ||
<button aria-describedby="text"> test </button> | <button aria-describedby="text"> test </button> | ||
− | <div id="text">This is a description.</div> | + | <div aria-hidden="true" id="text">This is a description.</div> |
</html> | </html> |
Latest revision as of 00:16, 13 January 2022
A button with aria-describedby that references the text after the button that is hidden with aria-hidden true.