Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
Cómo agregar texto alrededor de etiquetas aria asignadas dinámicamente con Vue JS

Soy muy nuevo en vue.js y accesibilidad,

Estoy tratando de hacer que el lector de pantalla anuncie un elemento como ("Esto es" + persona.nombre).

Pude anunciar person.name con :aria-label="person.name" pero no puedo agregar texto al respecto.

¿Cómo agrego texto alrededor de la :aria-label asignada dinámicamente?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Probaste con :aria-label="'This is ' + person.name"

 new Vue({ el: "#demo", data() { return { person: { name: "Logan" } } }, mounted() { console.log(this.$refs.btn) } })
 <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script> <div id="demo"> <button ref="btn" :aria-label="'This is ' + person.name">name</button> </div>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!