-
Notifications
You must be signed in to change notification settings - Fork 131
Is the title
attribute discouraged?
#2461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
My take: I think it's probably not discouraged, but only barely. The admonition here seems to say to not rely on the attribute, rather than to not use the attribute. That is, I've interpreted it as meaning it's not OK to use it alone, but it's OK to use it alongside alt text and captions and so on. But this is a pretty conditional reading; I don't think it would be unreasonable to take the note as a general admonition against using the |
I would actually start this now, and not add a discouraged flag on the web-feature before the spec editors and WG participants have had time to come to a conclusion. |
Good idea, @captainbrosset. I've sent whatwg/html#10875. |
There was some discussion on whatwg/html#10875. The main takeaways are:
I think this resolves the question here. I've sent #2932 to comment a brief summary on the feature YAML itself (and to close this issue). |
This is an interesting boundary case for
discouraged
(also known as deprecated, see #2388), prompted by the authoring oftitle-attr
in #2423.From the spec:
Should we interpret this to mean that the
title
global HTML attribute is a discouraged feature?I think we should discuss the question here, make a decision, and then (as a nice-to-have) file an issue with WHATWG, asking them to revising the note to clarify this point, so it's no longer a boundary case.
The text was updated successfully, but these errors were encountered: