Skip to content

Commit

Permalink
Fix aira-modal typo (#2488)
Browse files Browse the repository at this point in the history
* aira-modal???

* CL
  • Loading branch information
thompsongl authored Oct 24, 2019
1 parent 95f60b3 commit d262e4d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**Bug fixes**

- Normalized button `moz-focus-inner` ([#2445](https://github.com/elastic/eui/pull/2445))
- Fixed typo to correct `aria-modal` attribute in`EuiPopover` ([#2488](https://github.com/elastic/eui/pull/2488))

## [`14.8.0`](https://github.com/elastic/eui/tree/v14.8.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ exports[`EuiSuperSelect props custom display is propagated to dropdown 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style="top: 8px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -389,9 +389,9 @@ exports[`EuiSuperSelect props more props are propogated to each option 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style="top: 8px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -763,9 +763,9 @@ exports[`EuiSuperSelect props more props are propogated to each option 2`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style="top: 8px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -855,9 +855,9 @@ exports[`EuiSuperSelect props more props are propogated to each option 2`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style="top: 8px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -941,9 +941,9 @@ exports[`EuiSuperSelect props more props are propogated to each option 2`] = `
/>
</SideEffect(FocusWatcher)>
<EuiPanel
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
className="euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
paddingSize="none"
panelRef={[Function]}
Expand All @@ -957,9 +957,9 @@ exports[`EuiSuperSelect props more props are propogated to each option 2`] = `
}
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
className="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style={
Expand Down Expand Up @@ -1222,9 +1222,9 @@ exports[`EuiSuperSelect props options are rendered when select is open 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPopover__panel euiPopover__panel--bottom euiPopover__panel-noArrow euiSuperSelect__popoverPanel"
role="dialog"
style="top: 8px; left: -22px; z-index: 2000;"
Expand Down
10 changes: 5 additions & 5 deletions src/components/popover/__snapshots__/popover.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ exports[`EuiPopover props isOpen renders true 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPanel--paddingMedium euiPopover__panel euiPopover__panel--bottom euiPopover__panel-isOpen"
role="dialog"
style="top: 16px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -182,9 +182,9 @@ exports[`EuiPopover props ownFocus defaults to false 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPanel--paddingMedium euiPopover__panel euiPopover__panel--bottom euiPopover__panel-isOpen"
role="dialog"
style="top: 16px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -232,9 +232,9 @@ exports[`EuiPopover props ownFocus renders true 1`] = `
data-focus-lock-disabled="false"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="off"
aria-modal="true"
class="euiPanel euiPanel--paddingMedium euiPopover__panel euiPopover__panel--bottom euiPopover__panel-isOpen"
data-autofocus="true"
role="dialog"
Expand Down Expand Up @@ -290,9 +290,9 @@ exports[`EuiPopover props panelClassName is rendered 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPanel--paddingMedium euiPopover__panel euiPopover__panel--bottom euiPopover__panel-isOpen test"
role="dialog"
style="top: 16px; left: -22px; z-index: 2000;"
Expand Down Expand Up @@ -340,9 +340,9 @@ exports[`EuiPopover props panelPaddingSize is rendered 1`] = `
data-focus-lock-disabled="disabled"
>
<div
aira-modal="true"
aria-describedby="htmlId"
aria-live="assertive"
aria-modal="true"
class="euiPanel euiPanel--paddingSmall euiPopover__panel euiPopover__panel--bottom euiPopover__panel-isOpen"
role="dialog"
style="top: 16px; left: -22px; z-index: 2000;"
Expand Down
2 changes: 1 addition & 1 deletion src/components/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ export class EuiPopover extends Component<Props, State> {
tabIndex={tabIndex}
aria-live={ariaLive}
role="dialog"
aira-modal="true"
aria-modal="true"
aria-describedby={descriptionId}
style={this.state.popoverStyles}>
<div className={arrowClassNames} style={this.state.arrowStyles} />
Expand Down

0 comments on commit d262e4d

Please sign in to comment.