-
Notifications
You must be signed in to change notification settings - Fork 49.2k
Open
Labels
Component: DOMStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug
Description
React version:
"react": "18.3.0-next-522f47345-20220614",
"react-dom": "18.3.0-next-522f47345-20220614",
Steps To Reproduce
<span hidden="until-found">Hello React<span>
Link to code example:
https://codesandbox.io/s/headless-violet-ygn593
The current behavior
React will turn hidden into a boolean attribute and removes "until-found":
The expected behavior
React does not strip "until-found" to allow using hidden-until-found in Chrome 102+ for better SEO and accessibility.
oliverchristen, wkillerud, andy-hook, mathiasbynens, hoangphuc05 and 40 more
Metadata
Metadata
Assignees
Labels
Component: DOMStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug