Skip to content

Commit

Permalink
changes footer components to be tabable
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwardmook committed Sep 11, 2024
1 parent 0d4aba5 commit 6949dd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/js/components/Ballot/BallotElectionListWithFilters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,12 @@ const ElectionState = styled('div')`
margin: 0 2px;
`;

const SimpleModeItemWrapper = styled('div')`
const SimpleModeItemWrapper = styled('button')`
cursor: pointer;
margin-top: 12px;
padding: 0;
background: transparent;
border: none;
`;

const PriorOrUpcomingElectionsWrapper = styled('div')`
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Navigation/FooterMainWeVote.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class FooterMainWeVote extends Component {
<TopSectionOuterWrapper>
<TopSectionInnerWrapper>
<OneRow>
<div id="footerLinkHowItWorks" className={classes.onClickDiv} onClick={this.openHowItWorksModal}>How It Works</div>
<button type="button" style={{ border: 'none', backgroundColor: 'transparent', padding: '0' }} id="footerLinkHowItWorks" className={classes.onClickDiv} onClick={this.openHowItWorksModal}>How It Works</button>
<RowSpacer />
<OpenExternalWebSite
linkIdAttribute="footerLinkWeVoteHelp"
Expand Down

0 comments on commit 6949dd4

Please sign in to comment.