Merge pull request #7370 from KDSBrowne/_summit-add-aria-described-youtube-input

Add aria-describedby to youtube input
This commit is contained in:
Anton Georgiev 2019-05-08 09:54:09 -04:00 committed by GitHub
commit 34b3c09436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,9 +122,10 @@ class ExternalVideoModal extends Component {
value={url}
placeholder={intl.formatMessage(intlMessages.urlInput)}
disabled={sharing}
aria-describedby="youtube-note"
/>
</label>
<div className={styles.youtubeNote}>
<div className={styles.youtubeNote} id="youtube-note">
{intl.formatMessage(intlMessages.note)}
</div>
</div>