Skip to content

Commit

Permalink
Merge pull request #56 from YusukeHirao/hotfix/a11y/typography
Browse files Browse the repository at this point in the history
スクロール可能要素を全ブラウザでフォーカス可能にするために`tabindex`属性を付与
  • Loading branch information
takanorip authored May 2, 2024
2 parents 767e5fb + 6fb2dce commit da1be4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/tokens/typography.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Webを構成する基礎的な要素はテキストです。タイポグラフ

次のスケールを用います。ただし、このスケールから直接サイズを選ぶことはありません。後述のセマンティックな定義を使用します。

<div class="scrollable">
<div class="scrollable" tabIndex={0}>
<img
src="/assets/images/figures/typography/font-size-scale.svg"
width="816"
Expand Down

0 comments on commit da1be4a

Please sign in to comment.