You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The next and previous buttons are implemented using <span>, thus they are not operable via enter or space press. Please consider it replacing with <button>.
Pros
tabindex=0 is no more needed, <button> is a focusable element
role=button is no more needed, <button> exposes the role by default
previousClickHandler and nextClickHandler will get invoked when the buttons are activated using keyboard.
Cons
might need to update the styles
The text was updated successfully, but these errors were encountered:
The next and previous buttons are implemented using
<span>
, thus they are not operable viaenter
orspace
press. Please consider it replacing with<button>
.Pros
tabindex=0
is no more needed,<button>
is a focusable elementrole=button
is no more needed,<button>
exposes the role by defaultpreviousClickHandler
andnextClickHandler
will get invoked when the buttons are activated using keyboard.Cons
The text was updated successfully, but these errors were encountered: