Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

133
Visualizações
How to Add attributes to all Elements of a specific type without using JavaScript

I want to add the following attributes to all svg element in the page:

aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg"
  1. If adding them manually, it will bloat the whole page and is time-consuming.
  2. If using JavaScript, it will delay the page loading speed.
  3. It seems that CSS also cannot do this task, see I want to change attribute value of a class using CSS

Are there any other choices?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda