Unverified Commit 9fd385a8 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[dev-overlay] Remove positive tab-index (#80289)

Can be disorienting if more focusable content is added. See https://dequeuniversity.com/tips/tabindex-positive-numbers
parent 27259738
......@@ -120,7 +120,6 @@ export function PseudoHtmlDiff({
data-nextjs-container-errors-pseudo-html-collapse={isDiffCollapsed}
>
<button
tabIndex={10} // match CallStackFrame
data-nextjs-container-errors-pseudo-html-collapse-button
onClick={() => toggleCollapseHtml(!isDiffCollapsed)}
>
......
......@@ -19,7 +19,6 @@ export function EditorLink({ file, location }: EditorLinkProps) {
<div
data-with-open-in-editor-link
data-with-open-in-editor-link-import-trace
tabIndex={10}
role={'link'}
onClick={open}
title={'Click to open in your editor'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment