How to add "aria-label" attribute to the button
How to add "aria-label" attribute to the button
![tthai01](https://secure.gravatar.com/avatar/6982e12af0460b95a1e8ce25c6a54a12/?default=https%3A%2F%2Fvanillicon.com%2F6982e12af0460b95a1e8ce25c6a54a12_200.png&rating=g&size=120)
Allan,
I have tried to add the "aria-label" to those export buttons(see below) but those buttons disappear . Any suggestion on how to add the aria-label attribute to the button? Thanks.
attr: {
title: 'export to excel',
aria-label: 'export'
}
}
Thanks.
This discussion has been closed.
Answers
That's a syntax error in Javascript and your browser should be showing an error in the developer console. You need to quote the
"aria-label"
part:Allan