What is accessibility?
For this coding exercise, represent an accessibility tree as nested dictionaries containing role, name, and children fields. Implement validate_accessibility(root) to return True only when every interactive node has a non-empty, non-whitespace name; non-interactive nodes are ignored, but their descendants must still be checked. The function receives one root dictionary and returns a Boolean.
role, name, and children fieldschildren is a list of valid node dictionariesbutton, link, textbox, checkbox, radio, and selectdef validate_accessibility(root):