diff options
author | Michael Davis <michael.s.davis@ibm.com> | 2017-08-14 14:59:46 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2017-10-09 14:00:43 -0500 |
commit | b8a41c180f66e7d586962b0876fccd7c2fdc353d (patch) | |
tree | becdaa61e99379a247aaa4cf2dae70b7a1b8721d /app/common/directives/log-event.html | |
parent | 2c5e7beb3c5160135e014d296c49939fce158b10 (diff) | |
download | phosphor-webui-b8a41c180f66e7d586962b0876fccd7c2fdc353d.tar.gz phosphor-webui-b8a41c180f66e7d586962b0876fccd7c2fdc353d.zip |
Accessibility fixes:
- changed buttons to spans since not being used in forms
- added aria roles to html elements
- changed low contrast colors
Change-Id: I56e784b226baa7f9b24346446a0a023fcea633d4
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/common/directives/log-event.html')
-rw-r--r-- | app/common/directives/log-event.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/common/directives/log-event.html b/app/common/directives/log-event.html index addb098..08efcf1 100644 --- a/app/common/directives/log-event.html +++ b/app/common/directives/log-event.html @@ -15,7 +15,7 @@ <label class="control-check"> <input type="checkbox" name="events__check" ng-click="event.selected= ! event.selected" ng-checked="event.selected"/> - <span class="control__indicator"></span> + <span class="control__indicator accessible-text">select log event</span> </label> </div> <div class="column small-9 large-10 event-log__event-info" @@ -29,8 +29,8 @@ <p class="inline event__description">{{event.Severity}}</p> </div> <div class="column small-1 large-1"> - <button class="accord-trigger" ng-class="{'active': event.meta}" - ng-click="event.meta = ! event.meta"></button> + <span class="button accord-trigger" ng-class="{'active': event.meta}" + ng-click="event.meta = ! event.meta"></span> </div> </div> <div class="row event__metadata-row" ng-class="{'active': event.meta}"> |