[Feature Request] Please make the tag attribute global to all v- elements.
See original GitHub issueProblem to solve
Lack of control over HTML semantics.
Using a v-toolbar
element, as an example, will render a nav
element.
But if your not using the toolbar for “major navigation blocks” as per HTML5 specification you might want it as a div
or header
etc. depending on your use case.
Proposed solution
You already have the tag
attribute on v-data-iterator
, v-container
, v-jumbotron
and v-card
.
You ought to be able to copy that functionality over to the other components as well.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Global attributes - HTML: HyperText Markup Language | MDN
Chrome Edge
accesskey Full support. ChromeYes. Toggle history Full support. Edge12. Tog...
autocapitalize Full support. Chrome43. Toggle history Full support. Edge79. Tog...
autocomplete Full support. ChromeYes....
Read more >Attributes and properties - The Modern JavaScript Tutorial
In HTML, tags may have attributes. When the browser parses the HTML to create DOM objects for tags, it recognizes standard attributes and ......
Read more >JavaScript - Bootstrap
You can use all Bootstrap plugins purely through the markup API without writing a ... Don't use data attributes from multiple plugins on...
Read more >ARIA in HTML - W3C
Any HTML features, conformance requirements, or terms that this ... Allow only aria-hidden global attribute for br and wbr elements.
Read more >HTML iframe tag - W3Schools
Tip: It is a good practice to always include a title attribute for the <iframe> . This is used by screen readers to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t know about uniformly adding it to every single component. I think I’d rather have it be evaluated on a case by case basis.
This is something I still intend to do but did not make the cut for v2.0. Thank you for your patience.