Is there a rule for Web accessibility as to when an overlay / modal dialog is open, whether any element should be the focus?
问题 I have seen several behaviors: No element is focused. The close icon (usually at top right of overlay) is focused. Some other element inside of the overlay is focused. If conforming to ADA / ARIA standards, should any element be in focus? 回答1: The current recommend behavior is to focus the first focusable element in the dialog. However, there has been some debate on that implementation recently as it poses problems for users who use screen magnification software and screen readers. in cases