Mark Otto
059969bcd2
update links, new version to v3.4.0, add new baseurl for easy v3.4 building
2017-07-04 13:07:15 -07:00
XhmikosR
8691d87c62
Losslessly compress docs images.
...
Used zopfli 1.0.1, with `zopflipng -m --lossy_transparent -y --iterations=1000`
Before: 23,7 KB (24.352 bytes)
After: 23,5 KB (24.079 bytes)
2016-07-12 17:59:42 +03:00
XhmikosR
dcc2b8ac00
Fix HTML validation errors.
...
[skip sauce]
2016-03-10 13:44:16 +02:00
Patrick H. Lauke
5fd7bc1554
generalize dropdowns / drop role="menu"
...
as role="menu" is a very specific (and strict) ARIA pattern for
desktop-like application menus, and our dropdowns are often used
as pure navigation dropdowns, this change abandons ARIA menus for
a more open-ended and light-weight approach
(see http://heydonworks.com/practical_aria_examples/#submenus and
http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria )
note that in dropdown.js, switched to now target ``.dropdown-menu``
instead of ``role["menu"]`` - this also prevents bootstrap scripts
from "bleeding" into non-bootstrap components on the same page.
also removed the ``role=["listbox"]`` part, which appears to be
vestigial/unused (only place in bootstrap that uses that
role are carousels, and their key handling is done separately)
2015-06-02 11:03:21 +01:00
Patrick H. Lauke
3b59b97c62
ensure divider list items have role="separator"
...
http://www.w3.org/TR/wai-aria/roles#separator
2015-05-29 23:48:35 +01:00
Patrick H. Lauke
dc4aa004d4
Add aria-expanded to navbar toggles
2015-03-24 10:30:12 +00:00
Patrick H. Lauke
353d8395ae
Expand advice about adding labels
...
Harmonizing this with same advice given for CSS inline forms
2014-12-07 20:56:37 +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
Patrick H. Lauke
bab36220c9
Redundant role="navigation" on <nav>s
...
plus one example that still used the old <div role="navigation"> and a
fix-up of the callout as per
https://github.com/twbs/bootstrap/issues/15109
2014-11-14 10:52:57 +00:00
Chris Rebert
ea407666ce
give all docs callouts IDs
...
[skip sauce]
2014-11-13 12:16:03 -08:00
XhmikosR
5660be42fa
Use a 40x40 image for the navbar
brand image example.
...
Saves 3.4KB.
2014-11-13 22:09:38 +02:00
Chris Rebert
b87370c28f
navbar callouts cleanup
...
Move all callouts to be adjacent to each other
Combine JS-related callouts into a single callout
2014-11-11 21:22:30 -08:00
Patrick H. Lauke
0681971c8a
Wash-up of some stray dropdown examples
...
adding explicit aria-expanded="false" initial state (so they're
correctly announced by AT as being collapsed), and - in the case of
old-school use of <a> - role="button"
2014-11-11 23:52:52 +00:00
Patrick H. Lauke
bb89657bcb
Assorted accessibility (and some consistency) fixes for documentation
...
Closes #14951 by merging it.
2014-11-11 07:46:14 +01:00
Mark Otto
5d051736a4
Add brief note about justified navs being unsupported to fix #14598
2014-09-23 14:29:48 -07:00
Chris Rebert
719cde1a11
docs HTML5 validity fixup to 8e2348e9ed
2014-07-07 00:25:55 -07:00
Chris Rebert
ddffe76961
grammar fix; indicate that img[src] shouldn't actually be empty
2014-07-07 00:04:14 -07:00
Mark Otto
8e2348e9ed
Fixes #13746 : Add docs section for brand image
2014-07-06 18:39:37 -07:00
Michael Silber
1e407c81f1
Add collapsed default class to navbar-toggle
2014-07-02 16:49:03 -04:00
Chris Rebert
95ff94091e
add missing role="menu" attrs to .dropdown-menu elements in docs+examples
...
Docs audit prompted by #13697 .
[skip sauce]
2014-05-28 17:18:22 -07:00
Mark Otto
f159ce8b9e
Fixes #13208 : Drop <b> for <span> in code snippets and examples
2014-04-07 22:59:37 -07:00
Chris Rebert
1c19284a38
doc how to change the collapsed mobile navbar breakpoint; fixes #13126
2014-04-03 13:31:55 -07:00
Mark Otto
2a43e7e78a
Break up docs into includes
2014-03-16 19:03:53 -07:00