A Unified Naming Attribute for Everything
Posted on:Hi all,
I’m glad to participate with the first post in this group 🙂
Has anyone thought of using label=""
as a unified naming attribute; as an alternative to all naming tags and attributes:
<caption>
, <label>
, <legend>
, alt=""
, for=""
, title=""
, summary=""
.
title=""
attribute could be deprecated in favor of a CSS attribute called title:
with the following values:
{ title: attr(label) | attr(accesskey) | attr(label) attr(accesskey) | none }
The typical way for label=""
presentation is to use :before
and :after
pseudo elements; beside the title:
CSS attribute.