Why not just use ...
<h1><img alt="..."></h1>
... instead of this? This seems to be similar to the same features, but avoids the issue of ARIA support.
It will also be search engine friendly (SEO), as the web crawler will know that the content is used as a headline and will process it accordingly, while it is very unlikely to look at the attributes of the aria.
source
share