1. 09 Sep, 2021 1 commit
    • Patrick H. Lauke's avatar
      v4: Disabled link cleanup (#34924) · f4a1a35c
      Patrick H. Lauke authored
      manual backport of #34886
      
      per https://www.w3.org/TR/html-aria/#docconformance
      
      > It is NOT RECOMMENDED to use `aria-disabled="true"` on an `a` element with an `href` attribute.
      >
      >NOTE
      >If a link needs to be "disabled", remove the `href` attribute.
      
      This PR removes the unnecessary `href="#"`, `tabindex="-1"`, and `aria-disabled="true"` from disabled links in both docs pages and examples. `aria-disabled="true"` *is* kept for disabled link-based buttons (that have `role="button"`) as there it's appropriate to use (you *want* to convey to assistive technologies that this thing you're claiming is a button is also disabled at the moment)
      
      Further, the PR extends the "Link functionality caveat" to show the "proper" way (removing `href` and adding `.disabled` class only) to disable a link, but then explains what to do if that's not possible (and then keeps an example with all the traditional `href="#" tabindex="-1" aria-disabled="true"`, but explains clearly that it's not ideal). Same sort of explanation is also added to the pointer event utilities page
      f4a1a35c
  2. 19 Jan, 2021 1 commit
  3. 15 Dec, 2020 1 commit
  4. 19 Nov, 2020 2 commits
    • XhmikosR's avatar
      Use the example shortcode in more places · 052f72d3
      XhmikosR authored
      Now, it's safe to do use it since it covers more cases
      052f72d3
    • XhmikosR's avatar
      Switch to Hugo · b46f05a9
      XhmikosR authored
      This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:
      
      * removing empty lines in raw HTML that break output
      * read .browserslistrc, CSS variables from disk instead of duplicating it
      * using Hugo mounts
      * using Hugo for the docs CSS/JS
      * move ToC Sass code to a separate file while adapting it for Hugo
      
      Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
      b46f05a9
  5. 04 Jun, 2020 1 commit
  6. 29 May, 2020 1 commit
  7. 12 May, 2020 1 commit
  8. 31 Mar, 2020 1 commit
  9. 26 Nov, 2019 1 commit
  10. 14 Oct, 2019 1 commit
  11. 26 Sep, 2019 4 commits
  12. 11 Feb, 2019 1 commit
  13. 23 Dec, 2018 1 commit
  14. 21 Dec, 2018 1 commit
    • Mark Otto's avatar
      Prep for v4.2.0 release · eda851ee
      Mark Otto authored
      - Move 4.1 docs to 4.2
      - Update versions everywhere to 4.1.3 with release script
      - Manually bump the shorthand version in package.json
      - Add 4.2 to the versions docs page
      - Update some redirects
      - Fix tests asset URLs
      - Bump Nuget and more
      eda851ee
  15. 13 Dec, 2018 1 commit
    • Patrick H. Lauke's avatar
      SVG accessibility fixes (#27826) · c031584b
      Patrick H. Lauke authored
      * SVG accessibility fixes
      
      - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle
      - completely hide decorative SVGs using `aria-hidden="true"`
      - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label`
      - simplify placeholder default title
      
      * Simplify usage of placeholder.svg in the docs
      
      - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly)
      - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class)
      
      * Simplify example.html rewriting of <svg> to <img> code sample
      
      - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the
      placeholder.svg itself
      
      * Change svgo configuration to retain role attribute and add/force focusable=false
      
      - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
      c031584b
  16. 06 Dec, 2018 1 commit
  17. 20 Nov, 2018 1 commit
  18. 05 Nov, 2018 1 commit
  19. 17 Oct, 2018 2 commits
  20. 11 Oct, 2018 1 commit
  21. 12 Jul, 2018 2 commits
    • Mark Otto's avatar
      update card columns docs to make copy more accurate · de7bef88
      Mark Otto authored
      closes #26586, closes #26587
      de7bef88
    • Mark Otto's avatar
      Reorganize docs for easier deploys · 0e920ce3
      Mark Otto authored
      With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
      0e920ce3
  22. 09 Apr, 2018 1 commit
    • Mark Otto's avatar
      Ship v4.1.0 (#26218) · 8f7bd419
      Mark Otto authored
      * update docs path from docs/4.0/ to docs/4.1/
      
      * bump version to 4.1.0
      
      * Update redirects to work for 4.1 docs move
      
      * Update docs version switcher to include latest and link to 4.0 docs
      
      * re-run dist
      
      * Update package-lock.json
      
      * Update docs-navbar.html
      8f7bd419
  23. 14 Mar, 2018 1 commit
  24. 12 Mar, 2018 1 commit
  25. 26 Dec, 2017 1 commit
  26. 23 Dec, 2017 1 commit
    • Mark Otto's avatar
      Restyle code element, remove docs example overflow, improve docs examples (#25054) · 0a420124
      Mark Otto authored
      * Restyle code element, clean up variables
      
      - Removes the padding and background-color
      - Changes the color to a brand color ()
      - Add new variables to kbd element styles to account for removing the code ones
      - Remove overrides that were needed previously
      
      * only break between words, and override it in the pre
      
      * make file inputs 100% wide
      
      * scope custom file changes in input group for sizing
      
      * shorter button labels for responsive
      
      * narrower cards
      
      * button was too wide
      
      * downsize
      
      * fewer links in pagination
      
      * redo cell text
      
      * improve overflow docs
      0a420124
  27. 23 Oct, 2017 2 commits
  28. 18 Oct, 2017 1 commit
  29. 04 Oct, 2017 1 commit
  30. 26 Sep, 2017 1 commit
    • XhmikosR's avatar
      Normalize all links. (#24109) · 31c87219
      XhmikosR authored
      * use a trailing slash when possible
      * use https when possible
      * remove a few redirected links
      * consistently use `https://popper.js.org/`
      * fix `iconUrl` in nuget files
      * change Jekyll Windows guide to the official one
      31c87219
  31. 17 Sep, 2017 1 commit
  32. 04 Sep, 2017 1 commit
  33. 02 Jul, 2017 1 commit