Merge pull request #7683 from KDSBrowne/missed-audit-items

Minor accessibility improvements
This commit is contained in:
Anton Georgiev 2019-06-26 08:50:16 -04:00 committed by GitHub
commit a7842f0181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View File

@ -345,6 +345,7 @@ class Poll extends Component {
<Button
label={intl.formatMessage(intlMessages.closeLabel)}
aria-label={`${intl.formatMessage(intlMessages.closeLabel)} ${intl.formatMessage(intlMessages.pollPaneTitle)}`}
onClick={() => {
if (currentPoll) {
stopPoll();

View File

@ -73,6 +73,11 @@
margin-top: var(--sm-padding-y);
margin-bottom: var(--sm-padding-y);
}
> input::placeholder {
color: var(--color-text);
opacity: 1; /* Firefox */
}
}
.header {

View File

@ -49,10 +49,6 @@ const intlMessages = defineMessages({
id: 'app.submenu.application.languageLabel',
description: 'displayed label for changing application locale',
},
ariaLanguageLabel: {
id: 'app.submenu.application.ariaLanguageLabel',
description: 'aria label for locale change section',
},
currentValue: {
id: 'app.submenu.application.currentSize',
description: 'current value label',
@ -245,7 +241,7 @@ class ApplicationMenu extends BaseMenu {
<label
className={styles.label}
htmlFor="langSelector"
aria-label={intl.formatMessage(intlMessages.ariaLanguageLabel)}
aria-label={intl.formatMessage(intlMessages.languageLabel)}
>
{intl.formatMessage(intlMessages.languageLabel)}
</label>

View File

@ -269,7 +269,6 @@
"app.submenu.application.decreaseFontBtnLabel": "Decrease application font size",
"app.submenu.application.currentSize": "currently {0}",
"app.submenu.application.languageLabel": "Application Language",
"app.submenu.application.ariaLanguageLabel": "Change application language",
"app.submenu.application.languageOptionLabel": "Choose language",
"app.submenu.application.noLocaleOptionLabel": "No active locales",
"app.submenu.audio.micSourceLabel": "Microphone source",
@ -537,7 +536,7 @@
"app.video.swapCam": "Swap",
"app.video.swapCamDesc": "swap the direction of webcams",
"app.video.videoLocked": "Webcam sharing locked",
"app.video.videoButtonDesc": "Join video button",
"app.video.videoButtonDesc": "Share webcam",
"app.video.videoMenu": "Video menu",
"app.video.videoMenuDisabled": "Video menu Webcam is disabled in settings",
"app.video.videoMenuDesc": "Open video menu dropdown",
@ -629,8 +628,8 @@
"app.createBreakoutRoom.roomName": "{0} (Room - {1})",
"app.createBreakoutRoom.doneLabel": "Done",
"app.createBreakoutRoom.nextLabel": "Next",
"app.createBreakoutRoom.minusRoomTime": "Decrease breakout room time",
"app.createBreakoutRoom.addRoomTime": "Increase breakout room time",
"app.createBreakoutRoom.minusRoomTime": "Decrease breakout room time to",
"app.createBreakoutRoom.addRoomTime": "Increase breakout room time to",
"app.createBreakoutRoom.addParticipantLabel": "+ Add participant",
"app.createBreakoutRoom.freeJoin": "Allow users to choose a breakout room to join",
"app.createBreakoutRoom.leastOneWarnBreakout": "You must place at least one user in a breakout room.",