File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export default () => {
2222 if ( isModalVisible ) {
2323 modal = (
2424 < EuiConfirmModal
25+ aria-label = "EuiModal confirm example"
2526 style = { { width : 600 } }
2627 title = "Update subscription to Platinum?"
2728 onCancel = { closeModal }
@@ -44,6 +45,7 @@ export default () => {
4445 if ( isDestroyModalVisible ) {
4546 destroyModal = (
4647 < EuiConfirmModal
48+ aria-label = "EuiModal confirm example two"
4749 title = "Discard dashboard changes?"
4850 onCancel = { closeDestroyModal }
4951 onConfirm = { closeDestroyModal }
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export default () => {
4141 if ( isModalVisible ) {
4242 modal = (
4343 < EuiConfirmModal
44+ aria-label = "EuiModal confirm loading"
4445 title = "Delete the EUI repo?"
4546 onCancel = { closeModal }
4647 onConfirm = { ( ) => {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default () => {
2121
2222 if ( isModalVisible ) {
2323 modal = (
24- < EuiModal onClose = { closeModal } >
24+ < EuiModal aria-label = "EuiModal example" onClose = { closeModal } >
2525 < EuiModalHeader >
2626 < EuiModalHeaderTitle > Modal title</ EuiModalHeaderTitle >
2727 </ EuiModalHeader >
Original file line number Diff line number Diff line change @@ -113,7 +113,11 @@ export default () => {
113113
114114 if ( isModalVisible ) {
115115 modal = (
116- < EuiModal onClose = { closeModal } initialFocus = "[name=popswitch]" >
116+ < EuiModal
117+ aria-label = "EuiModal form example"
118+ onClose = { closeModal }
119+ initialFocus = "[name=popswitch]"
120+ >
117121 < EuiModalHeader >
118122 < EuiModalHeaderTitle > Modal title</ EuiModalHeaderTitle >
119123 </ EuiModalHeader >
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ export default () => {
2121
2222 if ( isModalVisible ) {
2323 modal = (
24- < EuiModal style = { { width : 800 } } onClose = { closeModal } >
24+ < EuiModal
25+ aria-label = "EuiModal modal width"
26+ style = { { width : 800 } }
27+ onClose = { closeModal }
28+ >
2529 < EuiModalHeader >
2630 < EuiModalHeaderTitle > Modal title</ EuiModalHeaderTitle >
2731 </ EuiModalHeader >
You can’t perform that action at this time.
0 commit comments