Accessibility Issue:

Posted by: jacob.evans on 20 March 2024, 12:47 am EST

  • Posted 20 March 2024, 12:47 am EST - Updated 20 March 2024, 12:52 am EST

    Hey,

    Apologies for the many accessibility issues recently; there is one on the filter dropdown, where the listbox containing the filterable options is missing an aria-label. Is this able to be addressed? If you need more information please let me know.

    Cheers,

    Jacob

  • Posted 20 March 2024, 10:56 pm EST

    Hi Jacob,

    Thank you for your careful observation. To add the aria-label to the value filter list, please set it in the default controlTemplate for the ValueFilterEditor. Please refer to the below code snippet for reference:

    wjGridFilter.ValueFilterEditor.controlTemplate = `<div><div wj-part="div-filter"></div><div class="wj-listbox-item"><label><input wj-part="cb-select-all" type="checkbox"> <span wj-part="sp-select-all"></span></label></div><div wj-part="div-values" aria-label="**required description can be added here**"></div></div>`;

    Please refer to this sample for reference: Sample.zip

    If you have any further queries, then please let us know. Thank you.

    Regards

  • Posted 10 April 2024, 3:38 am EST

    Hey, thanks for this, I have applied this and appears to have sorted it.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels