Description
There is a problem with the following example that leads to major differences between the browser and open source implementations for the dialogs:
When the dialog has been opened, focus is trapped within the dialog; tabbing from the last control in the dialog takes focus to the first control in the dialog. The dialog is dismissed by activating the Cancel button or the OK button.
imo there is too much room for interpretation and clearer guidance is needed that defines a "Best Practice" for this specific scenario. Otherwise it leads to further inconsitency between implementations.
The native <dialog>
doesn't support tab looping at all while most open source libraries are on the other extrema and don't provide an option to disable it.
With clearer guidance one or the other would need to be adjusted to fulfil the Level A requirements.