diff --git a/content/docs/accessibility.md b/content/docs/accessibility.md
index 4b202fe4..61a5a8bc 100644
--- a/content/docs/accessibility.md
+++ b/content/docs/accessibility.md
@@ -282,13 +282,13 @@ class OuterClickExample extends React.Component {
return (
- {this.state.isOpen ? (
+ {this.state.isOpen && (
- Option 1
- Option 2
- Option 3
- ) : null}
+ )}
);
}
@@ -348,13 +348,13 @@ class BlurExample extends React.Component {
aria-expanded={this.state.isOpen}>
Select an option
- {this.state.isOpen ? (
+ {this.state.isOpen && (
- Option 1
- Option 2
- Option 3
- ) : null}
+ )}
);
}