Skip to content

Is the title attribute discouraged? #2461

@ddbeck

Description

@ddbeck

This is an interesting boundary case for discouraged (also known as deprecated, see #2388), prompted by the authoring of title-attr in #2423.

From the spec:

Relying on the title attribute is currently discouraged as many user agents do not expose the attribute in an accessible manner as required by this specification (e.g., requiring a pointing device such as a mouse to cause a tooltip to appear, which excludes keyboard-only users and touch-only users, such as anyone with a modern phone or tablet).

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature definitionCreating or defining new features or groups of features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions