GitHub で表示
閉じるアイコン
モーダルやアラートなどのコンテンツを非表示にする、汎用的な閉じるアイコンを使用します。
aria-label
を使用したように、スクリーンリーダー用のテキストを含めておくことを確認してください。
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>