W3C home > Mailing lists > Public > www-validator@w3.org > January 2020

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

From: Jorge Fernandes <jorge.fernandes@ama.pt>
Date: Fri, 24 Jan 2020 17:38:24 +0000
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <AD39E019-EBA5-454E-B733-18EA939BD520@ama.pt>
Hi,

In Portugal it is usual we say: "If the logic is a potato :-) “ … the (A) situation is equal to the (B) situation - i.e. the same semantic (modified post-genetically), the same structural elements… Why the validator say that (A) have 3 errors? Doesn’t these childrens belong genetically to this father? Is this correct and will be like that forever and permanently or is something that the validator’s team is thinking in implement and resolve the issue?

Many thanks,
  Jorge Fernandes

A)
Source

  1.  <!DOCTYPE html>↩
  2.  <html lang="en">↩
  3.  <head>↩
  4.  <title>Lists with Semantic through ARIA</title>↩
  5.  </head>↩
  6.  <body>↩
  7.  <ul>↩
  8.  <div role="listitem">lista 1</div> ↩
  9.  <div role="listitem">lista 2</div>↩
  10. <div role="listitem">lista 3</div>↩
  11. </ul>↩
  12. </body>↩
  13. </html>

B)
Source

  1.  <!DOCTYPE html>↩
  2.  <html lang="en">↩
  3.  <head>↩
  4.  <title>Lists with Semantic through ARIA</title>↩
  5.  </head>↩
  6.  <body>↩
  7.  <ul>↩
  8.  <li>lista 1</li> ↩
  9.  <li>lista 2</li>↩
  10. <li>lista 3</li>↩
  11. </ul>↩
  12. </body>↩
  13. </html>


AVISO DE CONFIDENCIALIDADE
A informação transmitida nesta mensagem é de uso exclusivo da pessoa ou entidade a que se destina e pode conter informações privilegiadas e ou confidenciais. Se não é o destinatário desta mensagem, está proibido de proceder à sua impressão, duplicação, divulgação ou qualquer outra forma de utilização bem como de agir com base nestas informações. Se tiver recebido esta mensagem por erro, por favor avise o remetente imediatamente, elimine estas informações do seu computador e destrua todas as cópias.
CONFIDENTIALITY WARNING
The information transmitted in this message is for the exclusive use of the person or entity to which it is addressed and might contain privileged and or confidential  information. If you are not the intended recipient of this message, you are prohibited from printing, duplicating, disseminating or otherwise using or acting in reliance upon this information. If you have received this message in error, please notify the sender immediately, delete this information from your computer and destroy all copies.
Received on Friday, 24 January 2020 17:38:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 24 January 2020 17:38:30 UTC