diff --git a/gradle/changelog/tab_index.yaml b/gradle/changelog/tab_index.yaml new file mode 100644 index 0000000000..c1b3820d4d --- /dev/null +++ b/gradle/changelog/tab_index.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Fix tab order for primary navigation diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 04627cd308..869b3d1566 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -70974,7 +70974,6 @@ exports[`Storyshots Repositories/RepositoryEntry Archived 1`] = ` @@ -71100,7 +71099,6 @@ exports[`Storyshots Repositories/RepositoryEntry Avatar EP 1`] = ` @@ -71229,7 +71227,6 @@ exports[`Storyshots Repositories/RepositoryEntry Before Title EP 1`] = ` @@ -71355,7 +71352,6 @@ exports[`Storyshots Repositories/RepositoryEntry Default 1`] = ` @@ -71494,7 +71490,6 @@ exports[`Storyshots Repositories/RepositoryEntry Exporting 1`] = ` @@ -71634,7 +71629,6 @@ exports[`Storyshots Repositories/RepositoryEntry HealthCheck Failure 1`] = ` @@ -71785,7 +71779,6 @@ exports[`Storyshots Repositories/RepositoryEntry MultiRepositoryTags 1`] = ` @@ -71925,7 +71918,6 @@ exports[`Storyshots Repositories/RepositoryEntry RepositoryFlag EP 1`] = ` @@ -72051,7 +72043,6 @@ exports[`Storyshots Repositories/RepositoryEntry With long texts 1`] = ` diff --git a/scm-ui/ui-components/src/repos/RepositoryEntry.tsx b/scm-ui/ui-components/src/repos/RepositoryEntry.tsx index 778b0a9c47..7ffb427e9d 100644 --- a/scm-ui/ui-components/src/repos/RepositoryEntry.tsx +++ b/scm-ui/ui-components/src/repos/RepositoryEntry.tsx @@ -121,7 +121,6 @@ const RepositoryEntry: FC = ({ repository, baseDate }) => { target="_blank" className={"is-size-5"} title={t("overview.contact", { contact: repository.contact })} - tabIndex={1} > {renderContactIcon()} diff --git a/scm-ui/ui-webapp/src/components/HeaderDropDown.tsx b/scm-ui/ui-webapp/src/components/HeaderDropDown.tsx index d4ab2a4ec2..552bdcc8b5 100644 --- a/scm-ui/ui-webapp/src/components/HeaderDropDown.tsx +++ b/scm-ui/ui-webapp/src/components/HeaderDropDown.tsx @@ -193,6 +193,7 @@ const HeaderDropDown: FC = ({ className, icon, count, error, isLoading, m className )} onClick={e => e.stopPropagation()} + tabIndex={0} > = ({ links }) => {