WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Masking H1


From: Vemaarapu Venkatesh
Date: Nov 18, 2016 5:17AM

Hi JP,

As NVDA is announcing semantics for every word in the heading text I
thought of adding aria presentation role which will hide the semantics from
AT users.

The following is the markup which seems to be working fine with

<span style="display: block;" role="presentation">Good</span>
<span style="display: block;" role="presentation">Afternoon</span>
<span style="display: block;" role="presentation" >JP</span>

I don't have much experience with aria and please correct me if this is a
incorrect implementation.