News for hackers. Stuff that matters.
Re:<dialog>: The Dialog Element by mikae1 on Saturday December 07, 2024 @06:31AM (#42349077)
> Media players with controls:

> <audio controls src="example.mp3"></audio>

> <video controls src="example.mp4"></video>

Which look different in every single browser and can't be styled without JavaScript. Wish these were implemented better.

Re:<dialog>: The Dialog Element by BeFlatXIII on Saturday December 07, 2024 @04:30PM (#42352993)
I wish more websites left things with default styling.
Re:<dialog>: The Dialog Element by wwweston on Friday December 13, 2024 @04:02PM (#42412338)
As long as the essential controls are there (play/pause, volume, transport) and don't have serious UX sins (tiny or otherwise lacking touch targets) restyling them is overrated.

And an unfortunate number of recreated controls seem to have the serious UX sins.

"looks different in every single browser" is a minor issue. Might be nice if they were restylable via CSS, though.