Skip to content

Commit

Permalink
fix(ui-color-picker): make ColorPicker tooltip VoiceOver focusable
Browse files Browse the repository at this point in the history
Closes: INSTUI-4259
  • Loading branch information
balzss committed Nov 20, 2024
1 parent 1209b0d commit b8650f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui-color-picker/src/ColorPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class ColorPicker extends Component<ColorPickerProps, ColorPickerState> {
<span css={styles?.label}>{label}</span>
<span>
<Tooltip renderTip={tooltip}>
<IconInfoLine tabIndex={-1} />
<IconInfoLine aria-hidden={undefined} />
</Tooltip>
</span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-svg-images/src/InlineSVG/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ class InlineSVG extends Component<InlineSVGProps> {
return (
<svg
{...parseAttributes(src)}
{...omitProps(this.props, InlineSVG.allowedProps, ['inline'])}
style={{
...style,
width,
Expand All @@ -174,6 +173,7 @@ class InlineSVG extends Component<InlineSVGProps> {
aria-hidden={title ? undefined : 'true'}
aria-labelledby={this.labelledBy}
role={this.role}
{...omitProps(this.props, InlineSVG.allowedProps, ['inline'])}
focusable={focusable ? 'true' : 'false'}
css={styles?.inlineSVG}
className={props.className}
Expand Down

0 comments on commit b8650f4

Please sign in to comment.