Skip to content
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

Subscription Form: fix the fallback to hide label in new browsers #1269

Closed

Conversation

jeherve
Copy link
Member

@jeherve jeherve commented Nov 6, 2014

In #932, we added a fallback to hide the placeholder label we created for old browsers. Unfortunately, the label was still displayed in all browsers. The attached patch fixes things by hiding the label in all new browsers.

@jeherve jeherve added [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings. [Type] Bug When a feature is broken and / or not performing as intended labels Nov 6, 2014
@jeherve jeherve added this to the 3.2.1 milestone Nov 6, 2014
@jeherve
Copy link
Member Author

jeherve commented Nov 13, 2014

Both visibility: hidden; and display: none; have their drawbacks.

  • visibility leaves an empty space:

screen shot 2014-11-13 at 8 30 38 pm

  • display hides the label from screen readers.

Maybe we should use an alternative method, like this one:
http://snook.ca/archives/html_and_css/hiding-content-for-accessibility

@enejb
Copy link
Member

enejb commented Nov 13, 2014

Should be fixed in master and branch-3.2
with f8b5e7c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants