In fact that, i do not remember whether it is w3c strict or wcag2.0A,

in a link ( <a href="xxx"></a>), we can not use target="_blank" to open the link in a new page.

 

here we can use onclick to pass the requirement. Code as:

<href="http://www.cnblogs.com/davidhhuan" onclick="target='_blank'" title="davidhhuan's blog">
    Davidhhuan
</a>

 

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-06-07
  • 2022-03-08
  • 2021-10-01
  • 2021-08-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2021-09-11
相关资源
相似解决方案