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

346
Visualizações
508 Compliance error - "This SPAN has an id attribute of 'aria-context' and 'aria-selection-event', which is not unique in the same DOM"

I'm using the tool Level Access to test my application for 508 violations and which is producing errors on my custom dropdown form.

This SPAN has an id attribute of 'aria-context', which is not unique in the same DOM

and

This SPAN has an id attribute of 'aria-selection-event', which is not unique in the same DOM

Im using react-select for the dropdown and the error I'm getting is from line https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/components/LiveRegion.tsx#L202-L204

it looks like the aria-selection and aria-context spans should only be used during the initial focus, but for some reason stays indefinitely instead of switching to the live region.

enter image description here

<AvSelect
              name="payer"
              labelKey="displayName"
              valueKey="id"
              id={{payers.map(x => x.id)}
              label="Payer"
              placeholder="Choose one ..."
              options={payers}
              index={payers.map(x => x.id)}
              onChange={payer => {
                this.changePayer(payer);
              }}
            />
          )}
            

Here is the screenshot attached for the highlight of the element causing the error and I'm using continuum explorer pro to test the accessibility for the page. Also we are targeting chrome, firefox and safari as main browsers. I see the span tag in the chrome dev tools but I don't see that anywhere in my react code

enter image description here

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