Open alice opened 9 years ago
Hmm, the authoring practices for toolbar don't mention title, just aria-label. Is there some other source that suggests using title?
I'm suggesting a custom 'title' attribute - since you ask that question, though, it should probably be called something else to avoid confusion - which then generates the flex 'title' div to display the title, and is also used as the accessible label for the whole element. I'm talking about <div flex>Title</div>
here: https://www.polymer-project.org/docs/elements/core-elements.html#core-toolbar
Ah ok. We can't use title for a few native DOM binding reasons
Makes sense. What if it was called something like "data-title"?
Basic level:
toolbar
rolearia-hidden
and text used asaria-label
, e.g. have the title provided as an attribute and use it to create the title element in content, something like(class names based on http://www.google.com/design/spec/layout/structure.html#structure-app-bar)
Advanced level:
More advanced: