# ● ボタンにアクセス可能な名前がありません(Buttons do not have an accessible name)

● ボタンにアクセス可能な名前がありません(Buttons do not have an accessible name)を修正する

Google lighthouse にて「Buttons do not have an accessible name」が出た時の対処

aria-label をつけましょう

<button class="navbar-toggle" type="button" >navigation bar</button>

 ↓

<button class="navbar-toggle" type="button" aria-label="ナビゲーションの切替">navigation bar</button>
No.1369
10/19 09:13

edit