David Xu
Jan 14, 2025

--

Another point to consider is accessibility. When an element is marked as inert, the element is removed from the accessibility tree rather than being announced as “disabled.” From a screen reader user’s perspective, it effectively “doesn’t exist.” which can be rather confusing.

--

--

David Xu
David Xu

Written by David Xu

Code monkey specializing in React.js

Responses (2)