Hacker News new | ask | show | jobs
by throwawayninja 1564 days ago
> Warning: The tabindex attribute must not be used on the <dialog> element.

... Why? I don't use MDN often, mostly just as reference material. I have enjoyed their documentation before, it's always been short and to the point with a few examples and it felt very complete. With this the first article I click on raises an odd question which I feel is either too much detail for reference or too little details for experts.

1 comments

The spec itself says the same thing with basically no additional detail. I don't exactly see why this is the case but I suppose it does interact with focus as is and tabindex would conflict with that?

https://html.spec.whatwg.org/multipage/interactive-elements....