Skip to content

Slack: Remove extra a11y attributes from close_flexpane button#11

Merged
jcsteh merged 1 commit intojcsteh:masterfrom
jwyung:slack-remove-close-flexpane
Apr 13, 2017
Merged

Slack: Remove extra a11y attributes from close_flexpane button#11
jcsteh merged 1 commit intojcsteh:masterfrom
jwyung:slack-remove-close-flexpane

Conversation

@jwyung
Copy link
Copy Markdown
Contributor

@jwyung jwyung commented Feb 14, 2017

Based on the close_flexpane button markup on Slack now, we have:

<button class="btn_basic close_flexpane" aria-label="Close Right Sidebar" title="Close Right Sidebar" type="button">

  • Since this element is a <button>, the role attribute is no longer necessary
  • Since this element has an aria-label attribute, we no longer need to add one
  • Update "Slack Accessibility Fixes" in README to reflect the above changes

@jwyung jwyung force-pushed the slack-remove-close-flexpane branch from 46428ca to 4a3a937 Compare February 14, 2017 23:05
Based on the `close_flexpane` button markup on Slack now, we have:

`<button class="btn_basic close_flexpane" aria-label="Close Right Sidebar" title="Close Right Sidebar" type="button">`

- Since this element is a `<button>`, the `role` attribute is no longer necessary
- Since this element has an `aria-label` attribute, we no longer need to add one
- Update "Slack Accessibility Fixes" in README to reflect the above changes
@jwyung jwyung force-pushed the slack-remove-close-flexpane branch from 4a3a937 to 357360d Compare February 14, 2017 23:07
Copy link
Copy Markdown
Owner

@jcsteh jcsteh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jcsteh jcsteh merged commit 7e6e7a2 into jcsteh:master Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants