0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
Chris Rebert
a2c4771d7c Docs: Add missing role="document"s to .modal-dialogs
Refs https://github.com/twbs/bootlint/pull/349#issuecomment-176554436

[skip sauce]
2016-01-28 22:30:51 -08:00
Chris Rebert
94b4076dd2 Docs: Add missing tabindex="-1" & role="dialog" to some .modals
Refs https://github.com/twbs/bootlint/pull/314
[skip sauce]
2015-11-15 22:08:42 -08:00
Kevin Kirsche
fc87d82ae9 Update verb tenses to proper tense for feature deprecations
X-Ref: fce30b57e2
2015-11-11 18:54:10 -05:00
Mark Otto
f9bee7deb6 fixes #16902: remove the .container-fluid from the grid system in modal example since it's doubling up padding 2015-08-04 19:57:49 -07:00
Patrick H. Lauke
3d244537fb Slightly expand accessible modals callout
to include a note about `role="document"`
2015-06-11 12:47:52 +01:00
Patrick H. Lauke
e23868c9cf Add role="document" to modal itself
Initial fix to generalise use of modals. Generally, true role="dialog"
containers would require only forms/controls as content, with all other
text correctly and explicitly associated via
aria-labelledby/aria-describedby and similar...but as authors use modals
also as generic overlays, this extra role is required to get AT
(particularly NVDA) out of "forms" mode and reenable reading keys
2015-06-11 12:40:24 +01:00
Kevin Kirsche
97f8e5610d Clarify the bs-callout on multiple open modals
[Close #16502] Clarify the bs-callout on multiple open modals

Currently it states overlapping modals, this isn't the only case as this truly applies to any instance when a user would want to open multiple modals at the same time. For this reason, I have modified the title of the callout to make this more clear.
2015-05-18 18:30:58 -04:00
XhmikosR
315907c97c Use https when possible. 2015-05-17 12:43:20 +03:00
fyquah95
4d153b9125 indented javascript/modal/using-grid-system sample code from 4 spaces to 2 spaces 2015-04-01 17:43:32 +08:00
Chris Rebert
6c5e7dfce1 rm redundant aria-hidden usage from Modals; fixes #16020 2015-03-25 18:06:47 -07:00
Chris Rebert
2f3076f20a add missing <code> within docs heading for .modal('handleUpdate') 2015-03-24 15:15:21 -07:00
Steven Black
457885075f Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
2015-03-03 18:22:09 +02:00
Heinrich Fenkart
be68cdd4b8 Properly document Modal#handleUpdate 2015-03-03 06:45:38 +01:00
Kevin Kirsche
769c27a19f Document how to properly handle modals with dynamic content height
Fixes #15106.
Closes #15910.
2015-02-25 03:23:02 +01:00
Kevin Kirsche
504435e0b0 Fix #15712: Add example of how to use grid system within a modal
Closes #15725 by merging a tweaked version of it.
2015-02-19 16:14:06 -08:00
Chris Rebert
19a6406ec4 fix indentation of highlighted code in Modal docs 2015-02-12 10:36:15 -08:00
Chris Rebert
e7de01eeed Update Twitter handle: @twbootstrap => @getbootstrap
Refs 1c94b7791f
CC: @mdo
2015-02-06 11:54:07 -08:00
Chris Rebert
89ef0a5d34 Clarify target of modal events 2015-02-03 10:48:56 -08: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
af77842ce7 Merge pull request #15111 from twbs/events-tables-wrapping
Don't line wrap event names in JS plugin docs
2014-11-20 00:06:33 -08:00
Chris Rebert
450a9ece10 Merge pull request #15125 from patrickhlauke/docs-clean-up
Docs clean up - unnecessary role attributes, callout clarifications
2014-11-17 02:13:21 -08:00
hillai
0ada807ce6 Add modal autofocus example 2014-11-16 16:48:08 +02:00
Patrick H. Lauke
25cac1ea9a Redundant role="form" on <form>s 2014-11-14 10:52:56 +00:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -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
594831f4f3 Add event.relatedTarget + data-* example to Modal docs
Fixes #14245
2014-11-03 13:37:27 -08:00
hillai
1339ab7a13 Replace v3.2.1 reference with v3.3.0 since there wasn't a v3.2.1
Closes #14941
2014-10-30 10:20:54 -07:00
Chris Rebert
d6903e4239 Document that the autofocus attribute doesn't work in modals.
Closes #14478.
2014-09-23 16:53:09 -07:00
Chris Rebert
ad00ad85fe modal docs: ensure all <button>s have an explicit type attribute
[skip sauce]
2014-09-15 15:43:34 -07:00
Chris Rebert
7f4af4aeea remote modal docs: mention jQuery.load and other JS options as alternatives
[skip sauce]
2014-07-05 23:43:29 -07:00
Chris Rebert
24e51590b7 modal docs formatting tweak
[skip sauce]
2014-07-03 12:58:20 -07:00
Chris Rebert
8340d664ce Mark the remote option of the Modal plugin as deprecated.
Follow-up to https://github.com/twbs/bootstrap/issues/13087#issuecomment-46563760
Closes #13087 as WONTFIX.
Closes #13597 as WONTFIX.
2014-07-03 12:58:10 -07:00
Patrick Robertson
dcb09f3b09 Fix inconsistency between demo and displayed code for modal demo
Fixes #13991
2014-06-30 19:19:18 +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
Mark Otto
2a43e7e78a Break up docs into includes 2014-03-16 19:03:53 -07:00