Commit Graph

15 Commits

Author SHA1 Message Date
Steven Black 457885075f Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
2015-03-03 18:22:09 +02:00
XhmikosR a6f3bdb71f Move inline CSS to docs.css. 2015-01-21 09:51:12 +02:00
Patrick H. Lauke c609272ac1 ``aria-label="close"`` instead of sr-only ``span``
shorter, neater, well supported
2014-12-07 14:29:03 +00:00
Chris Rebert 44447eeefe Give all embedded live docs examples data-example-id attrs
Refs #11410
2014-11-24 17:09:32 -08:00
Chris Rebert ddf39cc2e7 Don't line wrap event names in JS plugin docs 2014-11-12 16:32:51 -08:00
Chris Rebert 1211a8155e JS docs: add Options, Methods, Events subsections to nav sidebar 2014-11-11 21:16:34 -08:00
Chris Rebert 8d806b0ae5 Document .alert-dismissible .close restrictions; fixes #14802
[skip sauce]
2014-10-22 18:05:42 -07:00
Heinrich Fenkart d9f1ea8252 Small wording tweak in alert docs 2014-08-06 03:50:10 +02:00
Heinrich Fenkart ddadb2cf65 Document that alerts are removed from the DOM when closed; fixes #14318 2014-08-06 02:42:03 +02:00
Heinrich Fenkart 38335b2a3d Merge alert examples and add `.bs-example-standalone` class 2014-07-17 05:16:48 +02:00
Heinrich Fenkart 31772677f9 Clean up the Alert documentation 2014-07-17 05:16:34 +02:00
Mark Otto d9a38cd99f Fixes #14132: add .alert-dismissible to docs examples 2014-07-12 17:51:57 -07:00
Chris Rebert 949b81f511 Improve accessibility of close buttons in modals & alerts
Adds textual caption to the close buttons. The "X" multiplication sign isn't very meaningful to screenreaders.

Credit: https://github.com/paypal/bootstrap-accessibility-plugin
Per:
    https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#alert
    https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#modal-dialog
2014-05-03 19:53:34 -07:00
Heinrich Fenkart b94306d29b Replace $.fn.bind with $.fn.on in alert docs 2014-04-04 02:46:19 +02:00
Julian Thilo d52ad3ee3b Separate JS includes for alerts and popovers
/cc @mdo
2014-03-17 15:58:03 +01:00