Skip to content

Improve accessibility of forum follow buttons - #1553

Merged
gwprice merged 1 commit into
masterfrom
gprice/forum-follow-a11y
Nov 1, 2013
Merged

Improve accessibility of forum follow buttons#1553
gwprice merged 1 commit into
masterfrom
gprice/forum-follow-a11y

Conversation

@gwprice

@gwprice gwprice commented Oct 30, 2013

Copy link
Copy Markdown

They now include screen reader-friendly text, have the ARIA checkbox
role, activate on keypress (for space or enter), and occur in the DOM
after the header information (title, etc.)

@jimabramson @marcotuts @adampalay

They now include screen reader-friendly text, have the ARIA checkbox
role, activate on keypress (for space or enter), and occur in the DOM
after the header information (title, etc.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do you need to call event.preventDefault()? (like for spacebar not to scroll down the page)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

toggleFollowing calls preventDefault

@adampalay

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@jimabramson

Copy link
Copy Markdown

👍

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.

3 participants