Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): refactor README.md (#70503)
# Summary Remove redundant html element and css. Add alt text to images. Both old and new README.md have the same appearance. ## Description I changed some parts. ### 1. Insert `align="center"` into only top `<div>` tag The all of logo, title, and badges are center. Then it doesn't need to call at every element. ### 2. Move `<h1>` tag outside `<a>` tag The title doesn't have link even if inside `<a>` tag when it's wrapped heading element. So put it out for the readability. ### 3. Use image alt text instead of aria-label Alt text is displayed on the page if the images can't be loaded. That's why I prefer alt text to aria-label. In addition, the screen reader still reads the same words after updating. ### Improving Documentation - [x] Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide x-ref: [\<img>: The Image Embed element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img) | mdn web docs --------- Co-authored-by: JJ Kasper <[email protected]>
- Loading branch information