mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
844c62e1a6
## Summary This PR improves the accessibility of the Ant Design example by adding an accessible label to the icon-only `Link`. ### Changes - Added `aria-label="Home"` to the icon-only link. ### Why The link currently renders only an icon, so it does not provide an accessible name for assistive technologies. Adding an `aria-label` makes its purpose clear to screen reader users without changing the visual appearance. ### Before Screen readers announce the element as an unlabeled link. ### After Screen readers announce the link as **"Home"**. Co-authored-by: Marcos Hernanz <96699542+marcoshernanz@users.noreply.github.com>
Ant Design example
This example shows how to use Next.js along with Ant Design of React. This is intended to show the integration of this UI toolkit with the Framework.
Deploy your own
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-ant-design with-ant-design-app
yarn create next-app --example with-ant-design with-ant-design-app
pnpm create next-app --example with-ant-design with-ant-design-app
Deploy it to the cloud with Vercel (Documentation).