We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35d8ec commit ed4df90Copy full SHA for ed4df90
2 files changed
example/src/Examples/FABExample.tsx
@@ -145,6 +145,7 @@ const FABExample = () => {
145
<FAB.Group
146
open={open}
147
icon={open ? 'calendar-today' : 'plus'}
148
+ accessibilityLabel="Calendar FAB"
149
toggleStackOnLongPress={toggleStackOnLongPress}
150
actions={[
151
{ icon: 'plus', onPress: () => {} },
src/components/FAB/FABGroup.tsx
@@ -383,8 +383,9 @@ const FABGroup = ({
383
]}
384
pointerEvents={open ? 'box-none' : 'none'}
385
accessibilityRole="button"
386
- importantForAccessibility="yes"
387
- accessible={true}
+ importantForAccessibility={open ? 'yes' : 'no-hide-descendants'}
+ accessibilityElementsHidden={!open}
388
+ accessible={open}
389
accessibilityLabel={accessibilityLabel}
390
>
391
{it.label && (
0 commit comments