Question T7602
Visible to All Users

How do I change aria-labeledby values?

created 3 years ago

I'm working on a site that uses surveyjs, vue and typescript. I need to know if and how to adjust arai-labels, titles and aria-labelledby for AMP. Here is an image of the errors I am getting in AMP. Is there a way to modify these values? Thanks

Sincerely,
Trigve Hagen
Web Developer
trigve.hagen@gsa.gov
(209) 452-2699

Answers approved by surveyjs Support

created 3 years ago

Hello,

You can access and modify question inner markup in the https://surveyjs.io/Documentation/Library?id=surveymodel#onAfterRenderQuestion event handler as shown in this example on our site - https://surveyjs.io/Examples/Library?id=survey-afterrender&platform=Knockoutjs&theme=modern

Thanks, Serge
SurveyJS Team

    Comments (1)

      Thank you for your help!