mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-55272] Accessibility: Team Icon requires tabbing twice (#26572)
This commit is contained in:
parent
c39948b593
commit
ddbc84f6ce
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user