mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
iOS: Fix icon before "notebooks" header is focusable
This commit is contained in:
parent
603f905877
commit
3b2daf3842
@ -34,8 +34,9 @@ const Icon: React.FC<Props> = props => {
|
||||
const importantForAccessibility = accessibilityHidden ? 'no-hide-descendants' : 'yes';
|
||||
|
||||
const sharedProps = {
|
||||
importantForAccessibility,
|
||||
'aria-hidden': accessibilityHidden,
|
||||
importantForAccessibility, // Android
|
||||
accessibilityElementsHidden: accessibilityHidden, // iOS
|
||||
'aria-hidden': accessibilityHidden, // Web
|
||||
accessibilityLabel: props.accessibilityLabel,
|
||||
style: props.style,
|
||||
allowFontScaling: props.allowFontScaling,
|
||||
@ -62,6 +63,7 @@ const Icon: React.FC<Props> = props => {
|
||||
style={props.style}
|
||||
aria-hidden={accessibilityHidden}
|
||||
importantForAccessibility={importantForAccessibility}
|
||||
accessibilityElementsHidden={accessibilityHidden}
|
||||
>
|
||||
{nameSuffix}
|
||||
</Text>
|
||||
|
Loading…
Reference in New Issue
Block a user