René's URL Explorer Experiment


Title: fix(router): stop adding tabindex to non-anchor elements with routerLink by arturovt · Pull Request #70573 · angular/angular · GitHub

Open Graph Title: fix(router): stop adding tabindex to non-anchor elements with routerLink by arturovt · Pull Request #70573 · angular/angular

X Title: fix(router): stop adding tabindex to non-anchor elements with routerLink by arturovt · Pull Request #70573 · angular/angular

Description: RouterLink set tabindex="0" on every non-anchor element it was put on. There was no way to opt out, other than writing a tabindex attribute in the template yourself. The behavior now sits behind ADD_TABINDEX_TO_NON_ANCHOR_ELEMENTS, a module-level const. It is false in the published package and stays true inside Google while internal callers migrate off it. BREAKING CHANGE: RouterLink no longer adds tabindex="0" to non-anchor elements, such as

or