diff --git a/x-pack/plugins/watcher/public/components/duration_select/duration_select.html b/x-pack/plugins/watcher/public/components/duration_select/duration_select.html index 54c23e51ac1d9..1cfe0ac84a2a1 100644 --- a/x-pack/plugins/watcher/public/components/duration_select/duration_select.html +++ b/x-pack/plugins/watcher/public/components/duration_select/duration_select.html @@ -6,7 +6,11 @@ class="durationSelectSize kuiTextInput watcherNumberInput" min="0" required - ng-model="durationSelect.size"> + ng-model="durationSelect.size" + aria-label="Duration amount" + aria-describedby="{{durationSelect.describedBy}}" + > +
diff --git a/x-pack/plugins/watcher/public/components/duration_select/duration_select.js b/x-pack/plugins/watcher/public/components/duration_select/duration_select.js index be2117e7d1e5d..f5e7a8a4efb34 100644 --- a/x-pack/plugins/watcher/public/components/duration_select/duration_select.js +++ b/x-pack/plugins/watcher/public/components/duration_select/duration_select.js @@ -24,7 +24,8 @@ app.directive('durationSelect', function ($injector) { minimumUnit: '=', minimumSize: '=', unit: '=', - size: '=' + size: '=', + describedBy: '@', }, template, replace: true, diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html b/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html index 54d7d725d5076..135ebe079ebe2 100644 --- a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html +++ b/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html @@ -122,17 +122,21 @@

-
+ +