update poll vote modal with header element for additional screen reader access

This commit is contained in:
KDSBrowne 2024-07-30 13:04:57 +00:00
parent 027115aa14
commit 59deebdbcb

View File

@ -33,11 +33,14 @@ import {
import { hasPhoneDimentions } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/common/button/component';
const PollingTitle = styled.div`
const PollingTitle = styled.h1`
white-space: nowrap;
padding-bottom: ${mdPaddingY};
padding-top: ${mdPaddingY};
font-size: ${fontSizeSmall};
margin: 0;
padding: 0;
font-weight: 600;
`;
const PollButtonWrapper = styled.div`
@ -131,8 +134,11 @@ const QHeader = styled.span`
left: ${smPaddingY};
`;
const QTitle = styled.div`
const QTitle = styled.h1`
font-size: ${fontSizeSmall};
margin: 0;
padding: 0;
font-weight: 600;
`;
const QText = styled.div`