|
@@ -20,11 +20,11 @@ const BaseModal = View.extend({
|
|
if (!this.id) {
|
|
if (!this.id) {
|
|
throw new Error("Each modal class must have a unique id attribute");
|
|
throw new Error("Each modal class must have a unique id attribute");
|
|
}
|
|
}
|
|
- this.render()
|
|
|
|
-
|
|
|
|
// Allow properties to be set via passed in options
|
|
// Allow properties to be set via passed in options
|
|
Object.assign(this, options);
|
|
Object.assign(this, options);
|
|
|
|
|
|
|
|
+ this.render()
|
|
|
|
+
|
|
this.el.setAttribute('tabindex', '-1');
|
|
this.el.setAttribute('tabindex', '-1');
|
|
this.el.setAttribute('role', 'dialog');
|
|
this.el.setAttribute('role', 'dialog');
|
|
this.el.setAttribute('aria-hidden', 'true');
|
|
this.el.setAttribute('aria-hidden', 'true');
|