Re: [EXT] ARIA listitem vs li - the same semantic value. Y or N? If Y, why an error in validator

Taylor, P wrote:

> A <DIV> element with role="listitem" is genetically unrelated to an <LI>
> element, and therefore cannot inter-breed with <UL> elements.

Or to put it another way, a <DIV> element with role="<anything>"  is 
still a <DIV> element, and can never be anything else; in particular, it 
cannot be an <LI> element.  "A rose by any other name would smell as 
sweet", and its offspring would still be roses, but a tulip that someone 
chose to call a rose would still be a tulip.

Philip Taylor

Received on Friday, 24 January 2020 18:26:39 UTC