Hello everyone, in the datatable on the tr tag primefaces automatically sets the role=row property, how can I make sure that the property is not set? On some input tags of type hidden, the 'autocomplete' property is set to false, is it possible to make sure that the property is not set?
Thank you
Accessibility Issues, WCAG 2.1
Already done see: https://github.com/primefaces/primefaces/issues/9261
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
also I believe autocomplete="off" on the hidden inputs..
Code: Select all
protected void renderHiddenInput(FacesContext context, String id, String value, boolean disabled) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.startElement("input", null);
writer.writeAttribute("id", id, null);
writer.writeAttribute("name", id, null);
writer.writeAttribute("type", "hidden", null);
writer.writeAttribute("autocomplete", "off", null);
if (disabled) {
writer.writeAttribute("disabled", "disabled", null);
}
if (value != null) {
writer.writeAttribute("value", value, null);
}
writer.endElement("input");
}
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 53 guests