kopia lustrzana https://github.com/wagtail/wagtail
Remove - extra addClass & aria-label in appendColumnButton and restore aria-expanded="false" in clear method
rodzic
df8a6f219c
commit
1cbb1e8fb2
client/src/entrypoints/contrib/typed_table_block
|
@ -219,6 +219,7 @@ export class TypedTableBlock {
|
|||
.text(this.blockDef.meta.strings.ADD_COLUMN)
|
||||
.removeClass('button--icon text-replace white')
|
||||
.removeAttr('aria-label')
|
||||
.attr('aria-expanded', 'false')
|
||||
.removeAttr('title');
|
||||
|
||||
// delete all body rows
|
||||
|
@ -335,8 +336,6 @@ export class TypedTableBlock {
|
|||
)
|
||||
.addClass('button--icon text-replace white')
|
||||
.attr('aria-label', this.blockDef.meta.strings.ADD_COLUMN)
|
||||
.addClass('button--icon text-replace white')
|
||||
.attr('aria-label', this.blockDef.meta.strings.ADD_COLUMN)
|
||||
.attr('aria-expanded', 'false')
|
||||
.attr('title', this.blockDef.meta.strings.ADD_COLUMN);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue