-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(material/dialog): use h2 for dialog title #28519
Conversation
f61e8fe
to
e5a67f9
Compare
e5a67f9
to
317d551
Compare
317d551
to
124739a
Compare
Are browserstack tests flaky ? or did I indeed broke something ? |
I think it's a flake, but I'll restart it just in case. |
@PowerKiKi it looks like this needs to be rebased. |
Because the vast majority of pages will already have an `<h1>`, and MDN now recommends to avoid using multiple `<h1>` elements on one page. So we should strive to show code examples that can be copy-pasted as is. See also: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#avoid_using_multiple_h1_elements_on_one_page - https://stackoverflow.com/a/38467898/37706 - https://accessibleweb.com/question-answer/how-should-i-handle-headings-in-a-modal/
124739a
to
53c64c7
Compare
rebased |
Because the vast majority of pages will already have an `<h1>`, and MDN now recommends to avoid using multiple `<h1>` elements on one page. So we should strive to show code examples that can be copy-pasted as is. See also: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#avoid_using_multiple_h1_elements_on_one_page - https://stackoverflow.com/a/38467898/37706 - https://accessibleweb.com/question-answer/how-should-i-handle-headings-in-a-modal/ (cherry picked from commit 14d5de1)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Because the vast majority of pages will already have an
<h1>
, and MDN now recommends to avoid using multiple<h1>
elements on one page. So we should strive to show code examples that can be copy-pasted as is.See also: