role=presentation is no alternative for aria-hidden=true

In the previous post , I explained how to hide presentational SVGs using aria-hidden="true" . That s a reliable technique, but sometimes I see developers use role="presentation" instead, which may or may not work as expected. Before I show you where it fails, let s first try to understand the difference between role="presentation" and aria-hidden="true" . aria-hidden="true" According to the spec ,…