Have you looked at things like popover, invoker commands, and CSS anchor positioning? Browsers have in the last few years implemented a lot of new features to support this kind of thing.
Yeah def right direction. HTML's job is also to provide structure and standardization. If browsers could natively derive this kind of navigation from yourfavicon and sitemap.xml, we'd get consistent semantics, accessibility, and behavior by default instead of every site reinventing it.
Will look into popover - I was under the impression that was for tooltip type content, but if it can be used for menus, I’ll try it… R&D time, methinks! Thanks for the suggestions.
Which kinda proves my point for suggesting the need for a native too that does this without the excessive attributes and scripts etc, but I get what you mean.
yeah ARIA works... it is about standardization we shouldn't have to redefine structural patterns that have already become unofficial universal conventions
<nav> exists already and can be used for <sitenav>, <sectionnav>, and <toc>. We also have <menu> that's purely for page interactions.
<address> exists and quite possibly could be the same as <author>, if the intent here is that it denotes the contact information for the page.
<main> exists, so we have a way already to distinguish page/vs site information.
<figure> exists, and so does <header>, and I feel like between those two, you've got a <banner>. Banner feels strictly visual to me, I don't know if it needs extra semantics.
Now, with that said.
Not <author> but <person>. Something that's a wrapper for person-related semantics. We're driving into microdata territory here. But I could see an argument for a wrapper that indicates content is related to an individual. This would then be useful for both attributing authorship and inside of <cite> or something for attributing quotes. Maybe even <info> if the goal is to indicate, "this content is meta information related to the publishing of the content in the parent sectioning element" and now you can put the author and published date in there.
Not <breadcrumb> but <tree> , or <hl> If you break down what a breadcrumb is, it's a collection of items that are order-dependent because each item is a part of the previous. It's like a series of <ol> nested in each other, each with only one <li>. You can't use <ol>, though, because in a breadcrumb you can't just reverse the direction and have the collection be accurate. <tree> or <hl> (Hierarchical list) could be a way to indicate, these items are ordered and CANNOT be reversed.
Not <toc> but <tree> or <hl>. As I said, we do have a semantic gap where we can't denote, "this is a collections of items whose order should not change because each one is a part of the other" . A table of contents does two things: 1) it contains navigation points to the page 2) It shows them in a hierarchical format. a single <tree> or <hl> could be a breadcrumb, and a bunch of them listed together could be a table of contents
The only element in that list with merit is the table of contents element. For every other element, we already have header, footer, article, named section elements,, nav and the author relationship for the address element.
I do think there's a semantic gap with breadcrumb.
As I replied to the commenter, we don't have an easy way to indicate that a collection of items has a fixed AND hierarchical purpose. That would solve both tables of contents and breadcrumbs.
An HTML landmark element is an element that semantically represents the major sections of a webpage <header> which has a roll of banner
<footer> which has a role of contentinfo
<main> which has a role of main
<nav> which has a roll of navigation
<aside> which has the role of complimentary
<section> which has the role of region, but screen readers will treat it as a navigable landmark only if it has an accessible name
<article> which has the role of article
<form> which has the role of form, but screen readers will only treat it as a navigable landmark if it has an accessible name
Accessible names can be applied using the aria-label, aria-labelledby or title attributes
I usually reach for Bootstrap to implement modals. I guess I do remember hearing about the dialog element, but didn't realize it was actually implemented. Time to try some native dialogs!
Modern modals are way better than any library's implementation, imho. Styling in css, accessibility, the works. Super easy. Html attribute open/close. Wait till you find out about commandfor.
Dialog already exists, as mentioned. For accordion, there's the `<details>` element for a single disclosure, and you can make an accordion out of a series of this, optionally giving them a shared `name` attribute to make them exclusive (opening one closes the others).
As a bonus, browsers have improved support for this element a lot in recent years meaning good interoperability, ability to fully style it however you like, new conveniences like the `:open` pseudo-class, and the ability to automatically open up a details element when a user searches for text.
Ça existait déjà, c'est le tag <center><center/> mais c'est déprécier depuis des années. C'était déprécié dans html 4 mais encore beaucoup de browser le support.
Ya existía: se trata de la etiqueta <center><center/>, pero lleva años siendo obsoleta. Ya se consideraba obsoleta en HTML 4, pero muchos navegadores aún la admiten.
to expand on the css comment, html is a semantic document markup format. center is meaningless to the structure of the document. it doesn't make any sense for lots of agents like screen readers and simplified renderers.
I'm not sure its property of HTML, or more like CSS (or maybe browser app), but I really wish it were possible to strip down of all base styling and have greater control over it. The greatest hell for me always was to reset styling to its basic so it becomes a blank canvas and I can style it as a wish.
Yeah, HTML has always had a bit of an identity conflict. On one hand it's "just markup" and should separate structure from presentation, but on the other hand many elements come with built-in visual behavior. Finding the right balance between useful defaults and giving developers full control is tricky.
For context, OpenUI is a community working group that's worked on several recent proposals like popover (in all browsers), customizable select (will be in all browsers this year), and focusgroup (recently landed in Chrome).
HTML6 should be a clean up, removing support for legacy things and make it more lightweight so browsers doesn't need so complex engines to render it, so we could have lighter WebViews by using something like 'strict html6' that removes all the legacy bloat.
One of the key tenants of the web is that we don't do this. A website that was standards compliant in 1998 should still render the same in 2998.
Honestly, that is one of the biggest advantages of the web imo, so I really wouldn't ever want this. Remove support for non-standard elements, like <marquee>, fine, but nothing that was ever committed to a standard.
(I am aware that Browser APIs do get sunset, but that's a whole different thing)
This is probably a rather niche request, but since I create e-books, I'd like a <verse> tag for verses that would wrap overflowing text to the right according to the rules of print typography, to avoid having to resort to workarounds like huge left margins and negative indents (it could also use some sort of auto letter spacing to avoid too many overflows).
Yes indeed, I’ve been doing this for a long time, and as long as the name contains a hyphen, it doesn’t trigger any warnings. Still, it always makes me feel a bit guilty; ideally, for lines of verse, you’d want to align the overflow with the end of the preceding line—with a bracket at the start, if possible—and that’s not easy to define in CSS. The example you’ve provided here only works for very short lines.
For now I use an algorithm in a custom program I built that automatically counts the syllables in (only French) lines of verse and generates CSS classes according to their lengths (I also reduce letter spacing every time the verse is at risk of being too long to limit the number of broken lines, but I don't create new tags in this case). I paste the verse, click a button and I get this:
<div class="str"> <p class="v12">Et le long des maisons, sous les portes cochères,</p> <p class="v8">Des chats passaient furtivement,</p> <p class="v12 ssp">L’oreille au guet, ou bien, comme des ombres chères,</p> <p class="v8">Nous accompagnaient lentement.</p> </div>
You could also define the <br> tag within <verse> tags to behave differently and just split them manually. On the other hand, I get that it's not always so simple.
Splitting the end of verse lines manually works with fixed formats like PDF, but, as I make ebooks for e-readers, I need perfectly fluid text that adapts to all screen formats and font sizes.
The formatting of verse in commercial e-books is almost invariably just tinkering, presumably because most people working with HTML know or care little about poetry. The example I cited earlier works better, especially for blocks of verse embedded in prose. It indents lines based on their syllable count and wraps overflows beneath the end of the line if the display requires it (while attempting to avoid wrapping by reducing letter-spacing when a line contains a high character count relative to its syllable count—French verse relies on syllables rather than metrical feet). However, the wrapped portion still tends not to be indented far enough to the right, as it is difficult to predict the length of the text that will spill over depending on the with of the display...
I have to say, I wonder how "Louder Than Hunger" would render in an e-book.... the text looks like it would be a nightmare to typeset - especially automatically, and especially from HTML. I would think you almost need something like LaTeX to typeset like that.
I didn't even hear of it before, as I'm French, but I have just checked. They just used over 500 png images and it weighs > 15 MB, which is not that bad, considering the number of images...
And the browser could automatically do currency conversions. So if your localization is the US and you're looking at a European site in Euros, it could automatically change it to the equivalent amout of dollars almost for free. You'd just have to do something like <number currency="€">100</number>
that's exactly right. You could have localization for the currency symbol AND you could have localization for the number separator, too (because as I'm sure you know, some places use a comma, others use a period)
we have the <q> element which allows us to have localization for quotes. So I don't see why we can't have <number>. They gave us <time> like 10 years ago!
<advertisement></advertisement> - marks the part of a web page that is engaged in advertising and data collection. To ensure COPPA compliance, the browser can be set to block and not run that content. A compliant site is one that doesn't tie presentation of anything outside the advertisement tag to displaying the content inside the advertisement tag, and doesn't have content that does such tracking outside of the advertisement tags. And yes, that means that the javascript for these ads must be inside the advertisement tag as well.
My only thought is that it shouldn't be called <advertisement>
We definitely should have a semantic container that indicates, "this content was not created / generated by the site owners and therefore could be optional to the user"
Such an element could also be set not to display in print stylesheets by default.
This could then cover embedded videos and social media share icons.
Maybe it should be called <added> or <embedded> or something like that.
There’s not a whole lot I’d change honestly. I don’t really want HTML to become component hell with a thousand different component specific tags. I would like nav to have sub-elements instead of stuffing in UL or links or buttons and having no singular standard. Have something like a “ni” (nav item).
I think it’s flexible enough that it doesn’t need a change because I can build what I need. I wouldn’t want anything that is primarily for styling (I see something about centering above; I’m content with CSS for that) but I do regularly need a few additional field types, most particularly being a chip-list (ad-hoc content, multi entry).
Valuation as a prop? How dare you. 😉 I would like to add tam="$1T" sam="We only need 1%" som="top secret were in stealth mode" business-model="Funding" profitability="Later"
A native SDK for interacting with desktop and mobile operating systems (or a secure abstraction layer of course) more directly ... For truly native web applications, not just "native feeling".
Wouldn't bother with any UI elements ... There's nothing they can add that I won't still want to tweak the behavior of in JavaScript anyway, so don't waste the time.
A <claude> tag is something you could already build with Web Components rather than bake into the HTML standard. But AI and the popularity of chat do raise an interesting topic: chat has become one of the dominant ways people interact with information, and markup is a big part of that. It's worth thinking about native elements for chat-like structures instead of treating every conversation as a collection of generic <div>s. At the same time, we should also think about making markup itself more intuitive and accessible in chat-first interfaces.
12
u/frownonline Jul 05 '26
A responsive toggle button for menu navigation, to replace the mess of different solutions using complex CSS or JS.
14
u/xPhilxx Jul 05 '26
More role orientated semantic elements would be nice.
3
u/kkeiper1103 Jul 05 '26
<dialog> <accordion>
Those are two tools I'm constantly reaching for, using various libraries like bootstrap to get them.
2
u/RecognitionOwn4214 Jul 05 '26
HTML native binding and rendering of js objects
31
u/chikamakaleyley Jul 05 '26
1
u/Infamous_Device972 Jul 05 '26
bottom sheet
1
u/sylvant_ph Jul 05 '26
I'm not sure its property of HTML, or more like CSS (or maybe browser app), but I really wish it were possible to strip down of all base styling and have greater control over it. The greatest hell for me always was to reset styling to its basic so it becomes a blank canvas and I can style it as a wish.
1
u/playgroundmx Jul 05 '26
Tabs. Never liked the current implementations.
6
u/mister-sushi Jul 05 '26
3
u/Zachhandley Jul 05 '26
<working-fully-cross-platform-any-component> lmfao
https://ios404.com
3
u/Achereto Jul 05 '26
not elements, but the HTMX attributes with their functionality. I think they are a great tool to write less JavaScript.
3
u/keilyn3d Jul 06 '26
HTML6 should be a clean up, removing support for legacy things and make it more lightweight so browsers doesn't need so complex engines to render it, so we could have lighter WebViews by using something like 'strict html6' that removes all the legacy bloat.
3
u/Francois-C Jul 08 '26
This is probably a rather niche request, but since I create e-books, I'd like a <verse> tag for verses that would wrap overflowing text to the right according to the rules of print typography, to avoid having to resort to workarounds like huge left margins and negative indents (it could also use some sort of auto letter spacing to avoid too many overflows).
3
u/paceaux Jul 08 '26
<number> for marking up numbers. This would be great for localization. It could even have a <symbol> for marking up prices.
It would be SO nice to have clear semantics for prices or amounts.
2
u/myblueear Jul 05 '26
<blink></blink>
2
u/888NRG_ Jul 05 '26
Hypermedia controls
2
u/gutentight69420 Jul 07 '26
Additional hypermedia controls besides GET and POST using
<form>.2
u/barnold Jul 08 '26
Some
<tag>element scoped to container element for metadata? Make the web more data-ish2
u/couldntyoujust1 Jul 10 '26
<advertisement></advertisement> - marks the part of a web page that is engaged in advertising and data collection. To ensure COPPA compliance, the browser can be set to block and not run that content. A compliant site is one that doesn't tie presentation of anything outside the advertisement tag to displaying the content inside the advertisement tag, and doesn't have content that does such tracking outside of the advertisement tags. And yes, that means that the javascript for these ads must be inside the advertisement tag as well.
2
u/Inevitable_Yak8202 Jul 05 '26
<slider>
0
u/kilwag Jul 05 '26
Bring back <blink></blink>
1
u/ZuLuuuuuu Jul 05 '26
Font picker.
1
u/BobJutsu Jul 07 '26
There’s not a whole lot I’d change honestly. I don’t really want HTML to become component hell with a thousand different component specific tags. I would like nav to have sub-elements instead of stuffing in UL or links or buttons and having no singular standard. Have something like a “ni” (nav item).
1
u/Forward_Dark_7305 Jul 05 '26
I think it’s flexible enough that it doesn’t need a change because I can build what I need. I wouldn’t want anything that is primarily for styling (I see something about centering above; I’m content with CSS for that) but I do regularly need a few additional field types, most particularly being a chip-list (ad-hoc content, multi entry).
0
u/BrainCurrent8276 Jul 05 '26
<saas mode="headless" vibe="coded" valuation="$1B" no-bugs no-purple-gradient></saas>
0
u/JohnCasey3306 Jul 05 '26
A native SDK for interacting with desktop and mobile operating systems (or a secure abstraction layer of course) more directly ... For truly native web applications, not just "native feeling".
Wouldn't bother with any UI elements ... There's nothing they can add that I won't still want to tweak the behavior of in JavaScript anyway, so don't waste the time.
-1
u/Top_Bumblebee_7762 Jul 05 '26
Pillbox input.
-1
u/MrHandSanitization Jul 05 '26
No more handling files. The vibecoders can just do this, and the page loads already in the result.
Debugging will be fun, and reloading the page is like opening pandora's box! Will it work? Will it look the same? Who knows?!