Conversation
0d33a3d to
6a1c30f
Compare
|
And maybe click to copy the icon's code? |
|
yes, when the icons are actually shown, they need to somehow be presented to assistive technology/screen reader users. the and yes, the raw |
|
if planning to add a tooltip, the |
3742ad6 to
b3916bf
Compare
0987f88 to
f6d13b9
Compare
- Moves the extend/icons/ page content to components/icons/ for now (still needs work to rewrite) - Moves the extend/approach/ page into the getting-started/ section
…a new simple shortcode
33a5ec8 to
557946a
Compare
- More new icons - Add their classes - Fix property order - More customizing docs
- Move icons to the dist folder - Add a icons-copy npm task to bring them into the ignored directory for serving in Hugo - Switch from inlining SVG as HTML to using img element - Remove the icon table and only use the grid
557946a to
2608358
Compare
| {{< listIcons.inline >}} | ||
| {{- $dirName := printf "site/static/docs/%s/dist/icons/" .Site.Params.docs_version -}} | ||
|
|
||
| {{- range (readDir $dirName) -}} |
There was a problem hiding this comment.
@mdo: is the only reason for this patch the fact that you want the Bootstrap icons shown first? This adds an extra step which we could avoid. I don't mind either way, just thinking out loud.
I could probably hook something up to change the order, but it might complicate things.
Replaces the other half of #29048.
.biStill todo:
Tabnav between grid and table view of icons?role="img"orfocusable="false"Add a tooltip in each icon showing its title and/or class?/cc @XhmikosR @twbs/css-review
Preview: https://deploy-preview-29092--twbs-bootstrap.netlify.com/docs/4.3/components/icons/