Re: Aria roles

On 07/04/2021 13:51, Ms J wrote:
> I was wondering if there was anything that specified whether aria roles 
> should be applied to specific elements. For example, I have often seen 
> websites implement a lot of their functionality using links, and then 
> give the links new aria roles such as ‘button’ or ‘radio’ to indicate 
> their purpose rather than using the proper element in the first 
> instance. Is this likely to cause any issues?
> 

I think Aria was developed because people were using links for purposes 
other than links.  Originally HTML was explicitly not a presentational 
language, but it has become one.  Aria was developed to compensate for 
this.  The usage you are questioning is the reason for its existence.

Received on Wednesday, 7 April 2021 13:03:04 UTC