frontend: remove tabindex=0 (confuses password managers)
This commit is contained in:
@@ -363,7 +363,6 @@ const DocumentsTable = ({
|
|||||||
<div
|
<div
|
||||||
ref={scrollRef}
|
ref={scrollRef}
|
||||||
className="documents-scroll"
|
className="documents-scroll"
|
||||||
tabIndex={0}
|
|
||||||
onFocus={(event) => {
|
onFocus={(event) => {
|
||||||
if (event.target === scrollRef.current) {
|
if (event.target === scrollRef.current) {
|
||||||
onDocumentListFocus?.();
|
onDocumentListFocus?.();
|
||||||
@@ -504,7 +503,6 @@ const DocumentsTable = ({
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
|
||||||
draggable
|
draggable
|
||||||
onDragStart={(event) => {
|
onDragStart={(event) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
@@ -741,7 +739,6 @@ const DocumentsTable = ({
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
|
||||||
draggable
|
draggable
|
||||||
onDragStart={(event) => {
|
onDragStart={(event) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
@@ -275,7 +275,6 @@ const Sidebar = ({
|
|||||||
<span
|
<span
|
||||||
className={className}
|
className={className}
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
|
||||||
onClick={handleSelect}
|
onClick={handleSelect}
|
||||||
onKeyDown={(event) => {
|
onKeyDown={(event) => {
|
||||||
if (event.key === 'Enter' || event.key === ' ') {
|
if (event.key === 'Enter' || event.key === ' ') {
|
||||||
|
|||||||
Reference in New Issue
Block a user