What fresh hell is THIS now? - Patrick Lauke
background-size:cover
make the image responsive very easily
inert
https://egghead.io/lessons/html-5-accessible-modal-dialogs
inert
from UA's
<dialog>
<dialog>
and inert
in all browsers would be so useful. So many modals that need fixing. Also, some sort of native functionality for focus management in pop-ups would be incredibly useful. For example, not having to write custom javascript for navbar dropdowns or <menu>
elements would be wonderful.
inert
polyfill take into account access keys on inert content?
dir="rtl"
moves content from the left to the right but the tab order stays ltr. I assumed that the tab order would change as well, but clearly I'm wrong.
@alice slap this in an editor and try it: <!DOCTYPE html>
<html dir="rtl">
<head>
<style>
section{
background:hsl(0,0%,95%);
width:60%;
}
</style>
<body>
<section>
<a href="#">One</a>
<a href="#">Two</a>
</section>
</body>
</html>
[hidden]
attribute instead of [inert]
, I am still not convinced that would be better. But he is going to provide me with a test page to try and persuade my position..haha
aria-hidden="true"
and pointer-events:none
then that's much more interesting and powerful than using hidden.
inert
is useful on its own, without changing out the CSS style of hidden
. Plus, what if those two attributes exist in the same stylesheet?
inert
and hope it takes off
visibilility = 'obscured'
or something