Skip to content

Commit

Permalink
Merge pull request #976 from Financial-Times/CPP-1368-fix-sticky-subs…
Browse files Browse the repository at this point in the history
…cribe-button-tabindex

fix(dotcom-ui-header): add negative tab index to sticky subscribe button
  • Loading branch information
joelcarr authored Apr 4, 2023
2 parents a0cee4b + 8362fb3 commit cedf521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ exports[`dotcom-ui-header/src/components/StickyHeader renders as a logged in use
data-trackable="Subscribe"
href="/products?segmentId=#"
role="button"
tabIndex={-1}
>
Subscribe
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const NavListRightLoggedInSticky = (props: THeaderProps) => {
{!props.userIsSubscribed && subscribeAction && (
<SubscribeButton
item={subscribeAction}
variant={props.variant}
variant="sticky"
className="o-header__top-button--hide-m"
/>
)}
Expand Down

0 comments on commit cedf521

Please sign in to comment.