W3C home > Mailing lists > Public > public-i18n-archive@w3.org > January to March 2020

[i18n-drafts] [questions/qa-html-language-declarations] BRIEF_TITLE_GOES_HERE (#237)

From: Viktor Mukhachev via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Feb 2020 11:43:35 +0000
To: public-i18n-archive@w3.org
Message-ID: <issues.opened-559029887-1580730213-sysbot+gh@w3.org>
vmukhachev has just created a new issue for https://github.com/w3c/i18n-drafts:

== [questions/qa-html-language-declarations]  BRIEF_TITLE_GOES_HERE ==
[source] (https://www.w3.org/International/questions/qa-html-language-declarations) [en]

The webpage recommends to use the next markup when "title" attribute contains a text in page lang, while the content of the link in different lang:
```html
<span title="Spanish"><a lang="es" href="qa-html-language-declarations.es">Español</a></span>
```

Why not to recommend to use the next markup:
```html
<a title="Spanish" href="qa-html-language-declarations.es"><span lang="es">Español</span></a>
```
?
In the later case the `title` is placed on the interactive element, which could work better. At least, Chrome's browser's developer tools show it as a "description" of the link.


Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/237 using your GitHub account
Received on Monday, 3 February 2020 11:43:37 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 18:09:41 UTC