-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Add aria-labels and correct colour contrast #645
Conversation
onClick={this.toggleModal} | ||
className='share-query-btn' | ||
iconProps={{ iconName: 'MiniExpandMirrored'}} | ||
aria-label={'Expand response'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have noticed that you are using aria-label
and ariaLabel
interchangeably. Do they both work? If so, we can stick to one (aria-label)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah while reading the Fluent UI docs, under some components the say that the 'ariaLabel' is obsolete, so yeah I definitely think we should stick to aria-label
@@ -330,6 +330,7 @@ export class SampleQueries extends Component<ISampleQueriesProps, any> { | |||
placeholder={messages['Search sample queries']} | |||
onChange={this.searchValueChanged} | |||
styles={{ field: { paddingLeft: 10 } }} | |||
ariaLabel={'Search'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this changes to aria-label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
…fix/accessibility-support
Overview
Fixes #495