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:
parent
45f216b8a1
commit
6b3cdb5033
42 changed files with 159 additions and 148 deletions
|
@ -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() != '';
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue