I have a problem that prevent me to use composer update and apply a patch there for I found an other way:
I create a jQuerry function that allows me to do what you needed:
here it is:
$(document).ready(function () {
var blocklang = document.getElementById('block-languageswitcher');
if (blocklang != null) {
if (blocklang.hasAttribute("role")) {
blocklang.removeAttribute("role");
}
}
}
jeremyvdm → created an issue.