[MM-55272] Accessibility: Team Icon requires tabbing twice (#26572)

This commit is contained in:
s-krishnaraju 2024-04-02 10:16:37 -04:00 committed by GitHub
parent c39948b593
commit ddbc84f6ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,9 +192,9 @@ export default function TeamButton({
ref={provided.innerRef} ref={provided.innerRef}
{...provided.draggableProps} {...provided.draggableProps}
{...provided.dragHandleProps} {...provided.dragHandleProps}
tabIndex={-1}
> >
<div <div
className={classNames([`team-container ${teamClass}`, {isDragging: snapshot.isDragging}])} className={classNames([`team-container ${teamClass}`, {isDragging: snapshot.isDragging}])}
> >
{teamButton} {teamButton}
@ -205,7 +205,9 @@ export default function TeamButton({
}} }}
</Draggable> </Draggable>
) : ( ) : (
<div className={`team-container ${teamClass}`}> <div
className={`team-container ${teamClass}`}
>
{teamButton} {teamButton}
{orderIndicator} {orderIndicator}
</div> </div>