Merge pull request #20798 from KDSBrowne/bbb-20621

fix: Improve screen reader accessibility for polling modal
This commit is contained in:
Ramón Souza 2024-07-31 14:40:19 -03:00 committed by GitHub
commit 31ac4e7b52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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