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
      Unverified
      f4a1a35c
  2. 15 Apr, 2021 1 commit
  3. 19 Jan, 2021 1 commit
  4. 08 Jan, 2021 1 commit
  5. 15 Dec, 2020 1 commit
  6. 24 Nov, 2020 1 commit
  7. 19 Nov, 2020 1 commit
    • 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
  8. 24 Jun, 2020 1 commit
    • XhmikosR's avatar
      Backport #30973 · 78a51cb1
      XhmikosR authored
      Remove the class `.nav-item` from `.nav-link` inside the non `ul` or `ol` based navs.
      This makes the consistency for `.nav-item` (This class will not be required on the `.nav-link`).
      `.nav-item` was only required when you use `.nav-fill` or `.nav-justified` on the `.nav`. In other cases, it was redundant. And the purpose of `.nav-item` on `.nav-link`s can be achieved via flexbox utilities as well (Mentioned in the docs also).
      78a51cb1
  9. 12 May, 2020 1 commit
  10. 10 Apr, 2020 1 commit
  11. 26 Nov, 2019 1 commit
  12. 07 Mar, 2019 1 commit
  13. 11 Feb, 2019 1 commit
  14. 06 Feb, 2019 1 commit
  15. 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
  16. 20 Nov, 2018 1 commit
  17. 06 Nov, 2018 1 commit
  18. 12 Jul, 2018 1 commit
    • 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
  19. 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
      Unverified
      8f7bd419
  20. 16 Mar, 2018 1 commit
  21. 14 Mar, 2018 1 commit
  22. 12 Mar, 2018 1 commit
  23. 23 Jan, 2018 1 commit
  24. 27 Dec, 2017 1 commit
  25. 09 Nov, 2017 1 commit
  26. 31 Oct, 2017 1 commit
  27. 30 Oct, 2017 1 commit
  28. 22 Oct, 2017 1 commit
  29. 20 Oct, 2017 1 commit
  30. 16 Oct, 2017 1 commit
  31. 24 Sep, 2017 1 commit
    • Patrick H. Lauke's avatar
      Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs with dropdowns) · fd56ea37
      Patrick H. Lauke authored
      * Use `aria-selected` instead of `aria-expanded`
      * Change tab.js to use `aria-selected` rather than `aria-expanded`
      * Add `aria-orientation=vertical` to vertical tab list
      * Remove dynamic tabs with dropdowns
      * Fix non-interactive code examples
      * Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
      fd56ea37
  32. 08 Sep, 2017 1 commit
  33. 11 Aug, 2017 2 commits
  34. 02 Jul, 2017 1 commit
  35. 30 May, 2017 2 commits
  36. 28 May, 2017 1 commit
  37. 04 May, 2017 1 commit
  38. 27 Apr, 2017 1 commit