Skip to content

Commit

Permalink
fix(css): Make scrollable tables keyboard accessible (close #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvsde committed Oct 8, 2023
1 parent 54a90ab commit f9591cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eleventy/library-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ md.use(spans)
md.use(toc, tocOptions)

// Tables
md.renderer.rules.table_open = () => '<div class="Table-scroll"><table>\n'
md.renderer.rules.table_open = () => '<div class="Table-scroll" tabindex="0"><table>\n'
md.renderer.rules.table_close = () => '</table></div>\n'

// Footnotes
Expand Down

0 comments on commit f9591cd

Please sign in to comment.