Skip to content

Commit d80a37b

Browse files
committed
fix(ui-color-picker): make ColorPicker tooltip VoiceOver focusable
Closes: INSTUI-4259
1 parent a823d51 commit d80a37b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ui-color-picker/src/ColorPicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class ColorPicker extends Component<ColorPickerProps, ColorPickerState> {
390390
<span css={styles?.label}>{label}</span>
391391
<span>
392392
<Tooltip renderTip={tooltip}>
393-
<IconInfoLine tabIndex={-1} />
393+
<IconInfoLine aria-hidden={false} />
394394
</Tooltip>
395395
</span>
396396
</span>

packages/ui-svg-images/src/InlineSVG/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ class InlineSVG extends Component<InlineSVGProps> {
163163
return (
164164
<svg
165165
{...parseAttributes(src)}
166-
{...omitProps(this.props, InlineSVG.allowedProps, ['inline'])}
167166
style={{
168167
...style,
169168
width,
@@ -174,6 +173,7 @@ class InlineSVG extends Component<InlineSVGProps> {
174173
aria-hidden={title ? undefined : 'true'}
175174
aria-labelledby={this.labelledBy}
176175
role={this.role}
176+
{...omitProps(this.props, InlineSVG.allowedProps, ['inline'])}
177177
focusable={focusable ? 'true' : 'false'}
178178
css={styles?.inlineSVG}
179179
className={props.className}

0 commit comments

Comments
 (0)