question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Please make the tag attribute global to all v- elements.

See original GitHub issue

Problem 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:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
nekosaurcommented, Nov 1, 2018

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.

1reaction
johnleidercommented, Jun 11, 2019

This is something I still intend to do but did not make the cut for v2.0. Thank you for your patience.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found