如何使用VUE JS添加动态分配的ARIA标签的文本
我是vue.js
和可访问性的新手,
我试图使屏幕读取器宣布一个元素为(“ this是” + person.name)。
我能够用:aria-label =“ person.name”
宣布该人。
如何在动态分配的:aria-label
周围添加文本?
I am very new to vue.js
and accessibility,
I am trying to make an element be announced by the screen reader as ("This is " + person.name).
I was able to announce the person.name with :aria-label="person.name"
but I am not able to add text around this.
How do I add text around the dynamically assigned :aria-label
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试使用
:aria-label =“'this是' + person.name”
Did you try with
:aria-label="'This is ' + person.name"