Update the implicitRole function to use the getElementInternals function to get the internal role of the element, adding new tests to ensure it's working. The tests would also need to be updated in rules that look for required children/parent roles or allowed/required attributes for roles (e.g. aria-required-parent, aria-required, aria-allowed-attr and aria-required-attr) to add ElementInternal tests (similar to our virtual node tests)
Update the
implicitRolefunction to use thegetElementInternalsfunction to get the internal role of the element, adding new tests to ensure it's working. The tests would also need to be updated in rules that look for required children/parent roles or allowed/required attributes for roles (e.g. aria-required-parent, aria-required, aria-allowed-attr and aria-required-attr) to add ElementInternal tests (similar to our virtual node tests)