You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The if-if-else structure is perplexing because the "otherwise" scenario may never be applicable, given that the second "if" statement is the opposite of the first one and covers the entirety of the options (if has no figcaption descendant, if has figcaption descendant, otherwise).
Additionally, the "Otherwise" condition diverges from the typical instances found in the document, where it generally advises "No role other than ***, which is NOT RECOMMENDED.".
I am submitting a pull request that introduces a suggested resolution to address these concerns.
The text was updated successfully, but these errors were encountered:
URL: https://www.w3.org/TR/html-aria/#el-figure
Issue description:
The existing content in the "ARIA role, state, and property allowances" cell for the Figure is as follows:
The if-if-else structure is perplexing because the "otherwise" scenario may never be applicable, given that the second "if" statement is the opposite of the first one and covers the entirety of the options (if has no figcaption descendant, if has figcaption descendant, otherwise).
Additionally, the "Otherwise" condition diverges from the typical instances found in the document, where it generally advises "No role other than ***, which is NOT RECOMMENDED.".
I am submitting a pull request that introduces a suggested resolution to address these concerns.
The text was updated successfully, but these errors were encountered: