tubeshowcase●1,661,198 videos♡ My collection 0
← Learn to Code

Learn to Code04:03

Why are div buttons bad for accessibility, and why should we stop using them?

Microsoft Developer ↗

From the creator

One of the strengths of HTML and JavaScript is the ability to completely control the user interface. However, some of the techniques we implement can make our application inaccessible. Sarah Higley (@codingchaos) explains the challenges with one of the most common custom controls - the div button, where the developer converts a div tag into something which behaves like a button, but isn't actually one. Did you know... There are a full suite of tools available to you for ensuring everything you build is accessible? You can learn more about accessibility on Microsoft Learn - https://docs.microsoft.com/en-us/learn/paths/accessibility-fundamentals/?WT.mc_id=WebWednesday-c9-niner

Published 2021-03-12 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code