Replies: 4 comments
-
Afaik: When it comes to the HTML Specification the default value for
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi all, I ran into this issue today and have been reading a bit about it so I thought I should share. Firefox is reporting the There is a similar ticket on the react.js repo facebook/react#20895 that is very interesting and has a lot more context about this issue. Ultimately, the recommendation that I got from there is that when you add a react root you should specify the Additionally, I noticed while I was testing my application that next.js seems to add mulitple React Roots to the page so I see this issue twice on the same page:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like to request
In order to have accessible pages generated by NextJS, the
div#__next
appears to need atabindex
to be added to it:But, as far as I can tell, there is no way to add custom props to this div.
Describe the solution you'd like
There should be an option to be able to customize the #next div element.
An easy alternative would be for NextJS to add
tabindex="0"
by default.Describe alternatives you've considered
It might be an option to add the attribute with JS, but I don't know how screen readers will handle this.
Beta Was this translation helpful? Give feedback.
All reactions