diff --git a/gradle/changelog/accessibility_subheader.yaml b/gradle/changelog/accessibility_subheader.yaml new file mode 100644 index 0000000000..90d8f29eb8 --- /dev/null +++ b/gradle/changelog/accessibility_subheader.yaml @@ -0,0 +1,2 @@ +- type: bugfix + description: Programmatically accessible subheadings in footer 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 89aae73b6f..f4982cce67 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -1577,7 +1577,7 @@ exports[`Storyshots Footer Default 1`] = ` `; @@ -1736,7 +1736,7 @@ exports[`Storyshots Footer Full 1`] = `
-
-
Trillian McMillian
-
+
    @@ -1810,7 +1810,7 @@ exports[`Storyshots Footer Full 1`] = `
    -
    footer.information.title -
    +
      @@ -1868,7 +1868,7 @@ exports[`Storyshots Footer Full 1`] = `
      -
      footer.support.title -
      +
        @@ -1934,7 +1934,7 @@ exports[`Storyshots Footer Full 1`] = `
-
+
`; @@ -1942,7 +1942,7 @@ exports[`Storyshots Footer With Avatar 1`] = `
-
-
Trillian McMillian
-
+
    @@ -2007,7 +2007,7 @@ exports[`Storyshots Footer With Avatar 1`] = `
    -
    footer.information.title -
    +
      @@ -2045,7 +2045,7 @@ exports[`Storyshots Footer With Avatar 1`] = `
      -
      footer.support.title -
      +
        @@ -2101,7 +2101,7 @@ exports[`Storyshots Footer With Avatar 1`] = `
-
+
`; @@ -2109,7 +2109,7 @@ exports[`Storyshots Footer With Plugin Links 1`] = `
-
-
Trillian McMillian -
+
    @@ -2175,7 +2175,7 @@ exports[`Storyshots Footer With Plugin Links 1`] = `
    -
    footer.information.title -
    +
      @@ -2233,7 +2233,7 @@ exports[`Storyshots Footer With Plugin Links 1`] = `
      -
      footer.support.title -
      +
        @@ -2299,7 +2299,7 @@ exports[`Storyshots Footer With Plugin Links 1`] = `
-
+
`; diff --git a/scm-ui/ui-components/src/layout/Footer.tsx b/scm-ui/ui-components/src/layout/Footer.tsx index 88720b6bb2..78e52426e4 100644 --- a/scm-ui/ui-components/src/layout/Footer.tsx +++ b/scm-ui/ui-components/src/layout/Footer.tsx @@ -95,7 +95,7 @@ const Footer: FC = ({ me, version, links }) => { return (
-
+
{me ? ( @@ -146,7 +146,7 @@ const Footer: FC = ({ me, version, links }) => {
-
+
); }; diff --git a/scm-ui/ui-components/src/layout/FooterSection.tsx b/scm-ui/ui-components/src/layout/FooterSection.tsx index 1edc7389e7..6d3d0acbf9 100644 --- a/scm-ui/ui-components/src/layout/FooterSection.tsx +++ b/scm-ui/ui-components/src/layout/FooterSection.tsx @@ -36,7 +36,7 @@ const Menu = styled.ul` const FooterSection: FC = ({ title, children }) => { return (
-
{title}
+

{title}

{children}
);