mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 12:10:34 +00:00
Fix accessibility issues reported by PageSpeed tests (#41)
* Set aria-label on all buttons * Use a <p> instead of <h4> in footer
This commit is contained in:
@@ -73,6 +73,7 @@ function RatingButton(props: { emoji: string; label: string; onClick: () => void
|
||||
'focus:ring-offset-2',
|
||||
'focus:ring-offset-white',
|
||||
)}
|
||||
aria-label={label}
|
||||
title={label}
|
||||
onClick={onClick}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user