new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

React Router · Guides · all subjects

accessibility

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Link component renders standard anchor tag

The <Link> component renders a standard HTML anchor tag, which provides accessibility behaviors from the browser automatically without additional configuration.

NavLink provides context for assistive technology on current page

The <NavLink> component behaves the same as <Link> but also provides context for assistive technology when the link points to the current page. This is useful for building navigation menus or breadcrumbs.

Focus management critical for client-side routing accessibility

When routes change in React Router client-side routing, focus management is important for keyboard users and can be helpful for screen-reader users. Developers must consider what element receives focus when the route changes.

Live-region announcements for screen-reader users on route changes

Screen-reader users benefit from live-region announcements when a route has changed. Developers may want to notify them during certain transition states depending on the nature of the change and how long loading is expected to take.

React Router apps should work without JavaScript by default

React Router apps should work with links rendered as standard anchor tags even if users disable JavaScript. When client scripts load, React Router takes control of routing and prevents the browser's default behavior, but the app should gracefully degrade.

Accessibility in React Router follows WCAG and semantic markup

Accessibility in a React Router app follows general web accessibility practices. Using proper semantic markup and following the Web Content Accessibility Guidelines (WCAG) gets you most of the way there. React Router makes certain accessibility practices the default where possible and provides APIs to help where it's not.

Give your agent this brain