summaryrefslogtreecommitdiffstats
path: root/app/common/directives/log-event.html
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2019-04-01 17:57:27 -0500
committerDerick Montague <derick.montague@ibm.com>2019-04-08 23:40:05 -0500
commit1ffa209e99da608e225df0a3a3caf47036b3a793 (patch)
treebd42d5a53946e18c07d75efc01698e6644181cb2 /app/common/directives/log-event.html
parenta5deeeafe84893722d601b2343943eb78f263e4f (diff)
downloadphosphor-webui-1ffa209e99da608e225df0a3a3caf47036b3a793.tar.gz
phosphor-webui-1ffa209e99da608e225df0a3a3caf47036b3a793.zip
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes. Resolves openbmc/phosphor-webui#76 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
Diffstat (limited to 'app/common/directives/log-event.html')
-rw-r--r--app/common/directives/log-event.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/common/directives/log-event.html b/app/common/directives/log-event.html
index 344dccb..5a183ed 100644
--- a/app/common/directives/log-event.html
+++ b/app/common/directives/log-event.html
@@ -31,7 +31,7 @@
</div>
<div class="column small-1 large-1">
<button class="accord-trigger" ng-class="{'active': event.meta}"
- ng-click="event.meta = ! event.meta"></button>
+ ng-click="event.meta = ! event.meta" aria-label="{{event.meta ? 'collapse' : 'expand'}}"></button>
</div>
</div>
<div class="row event__metadata-row" ng-class="{'active': event.meta}">
OpenPOWER on IntegriCloud