1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

Support for ARIA

This commit is contained in:
HarveyKandola 2022-01-11 12:40:52 -05:00
parent 45f216b8a1
commit 6b3cdb5033
42 changed files with 159 additions and 148 deletions

View file

@ -1,3 +1,4 @@
/* eslint-disable ember/no-classic-classes */
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
//
// This software (Documize Community Edition) is licensed under
@ -28,6 +29,8 @@ export default Component.extend({
stretch: false,
uppercase: true,
iconClass: '',
ariaRole: "button",
tabindex: 0,
hasIcon: computed('iconClass', function() {
return this.iconClass.trim() != '';
}),