-
Notifications
You must be signed in to change notification settings - Fork 175
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
Why not merge changes back into bootstrap itself? #1
Comments
👍 had the same thought myself |
Thanks for asking. This is coming once we get the community play with the plugin and give us suggestions on improvements and refinements. We already received good feedback and are happy we didn’t rush with pull requests. HTH! On Jan 30, 2014, at 3:17 PM, Justin Stockton [email protected] wrote:
|
👍 to @patrickhlauke request. Accessibility should be not an option but standard. Great work, though! It's about time somebody takes care on that issue |
Thanks. Point taken. :) On Jan 31, 2014, at 2:02 AM, Stefan Baumgartner [email protected] wrote:
|
👍 for merging into core Bootstrap. I'm glad this project exists, though, so I'll be using it/providing feedback as is. Thanks! |
Looking through some of the styles, @mdo would not merge in some changes. Changing the .alert color contrast to simply use black would be immediately rejected. twbs 3.1 alert contrast currently meets WCAG 2.0 Level AA, but that took several tries before someone found a color combination the core team liked enough to merge in. Here's the last change: twbs/bootstrap#11432 You can follow the references from there. |
The large chunk of changes have to do with keyboard and ARIA support. I am sure we can reconcile the visual style differences. On Feb 7, 2014, at 9:35 AM, Zac Echola [email protected] wrote:
|
We've always been on board with improving the accessibility features of Bootstrap. The biggest problem has been coordination and scope of changes. I have yet to dive into this more extensively, but we obviously welcome any and all practical improvements that can be made. <3 |
Seems like a good chunk of this requires only simple changes to the static HTML in Bootstrap's docs (rather than invasive JS magic):
|
+1 for Merging. |
This patch fixes a JS error when the element with the attribute data-toggle="collapse" has a URL href (instead of a jQuery selector) and additionally a data-target attribute with the jQuery selector for the collapsible element. This is useful if you want to offer the opportunity to open the link in a new window (or even when JS is disabled). Example: <a data-toggle="collapse" href="http://www.example.org/" data-target="#collapsibleElement> Collapsible Group Item paypal#1 </a>
@cvrebert These roles are only needed when JS is running, therefore they should be added with the JS. For example, if they were added in the HTML, and a screen-reader user doesn't have access to JS, he/she will be very confused because the functionality described is missing. |
@weboverhauls Bootstrap already pretty much assumes (at least for the widgets in question) that JS is running. |
@weboverhauls I think that train already left the station a long time ago...devs adding roles directly to their HTML, and not generating it via JS, is a fairly common practice. I'd say any screenreader user without JS running is going to have a surprising/bad time nowadays on most sites. |
Sorry to hear that Patrick (and Chris). I thought you had a much higher appreciation for inclusive design and progress enhancement. Code quality is key. Please move this discussion to Twitter if you'd like. |
I'm just stating the facts about how Bootstrap is currently architected, not any opinion on the merits of that architecture.
No thanks. Intelligent discussions don't fit into 140 characters. |
I think it should be noted that WebAIM has studied the usage of JavaScript in screen readers and found the overwhelming majority have JavaScript enabled. Granted, this is a survey without a control group, so a big grain of salt. Similar results have been found in previous surveys, though. |
The screen reader example was just an obvious use case. The much bigger issue was outlined in a recent study in UK which showed that .9% of ALL users had JS enabled but didn't receive it. http://bit.ly/RTzBVk |
Code from the plugin continues to be ported into core, so closing issue. |
Is the plugin's code going to be slimmed down accordingly, as things get ported into core? |
The plugin is smart to overwrite the core features if we feel our implementation is better. In other words, we have been able to avoid conflicts so far.
|
I would like to see the plugin slimmed down. |
Just wondering, as the approach seems to be that this plugin retrofits accessibility on top of bootstrap, why it was not instead submitted as patches directly into core bootstrap project itself?
The text was updated successfully, but these errors were encountered: