-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review FAQ disclosure example #265
Comments
Seems to me it would be better if we preserve and expose the definition list semantics by putting the button role on a span inside of the |
Looks good. |
The dl, dd and dt are troubling me. |
Maybe the content that is controlled by the disclosure (the answer to the question) should be in a |
Created a pull request to address the use of entities for displaying state and changed FAQ example to use DIV elements instead of DL/DT/DD elements |
@jongund, I thought the outcome of the meeting discussion was to keep the I included these remarks in my review of PR #282. In the PR, everything is a div, which gives 0 semantic structure except for the intervening button elements. |
Matt,
I have created a new pull request:
1. Restored the use of DL/DT/DD in FAQ example and use button element for toggling each FAQ
2. Updated long description to use figure caption and changed the SPAN to a button element, updated the labeling of the button element, not sure about suggested changes to the ALT text for the image. Maybe discuss on call.
Jon
From: Jon Gunderson <[email protected]<mailto:[email protected]>>
Date: Tuesday, February 14, 2017 at 8:32 AM
To: w3c/aria-practices <[email protected]<mailto:[email protected]>>, w3c/aria-practices <[email protected]<mailto:[email protected]>>
Cc: Mention <[email protected]<mailto:[email protected]>>
Subject: Re: [w3c/aria-practices] Review FAQ disclosure example (#265)
Matt,
OK. It wasn’t clear to me from the issue discussion what the group decided, but I can add it back in and use the button element and make a new pull request.
Jon
From: Matt King <[email protected]<mailto:[email protected]>>
Reply-To: w3c/aria-practices <[email protected]<mailto:[email protected]>>
Date: Tuesday, February 14, 2017 at 2:15 AM
To: w3c/aria-practices <[email protected]<mailto:[email protected]>>
Cc: Jon Gunderson <[email protected]<mailto:[email protected]>>, Mention <[email protected]<mailto:[email protected]>>
Subject: Re: [w3c/aria-practices] Review FAQ disclosure example (#265)
@jongund<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jongund&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=REZD8fc2AwufInstfW3L5jSLVS8bjZtAodDOhat7yAI&m=ITdzvSoQ5TlYmSRF6WVxS40rs8tMEb2KCddyBxUYUYQ&s=b6rTsCflc8aFOodlHM6gftkmKs8piN35F7QX3rjtxOg&e=>, I thought the outcome of the meeting discussion was to keep the dl since this is a list of questions. To do this, we put the question button inside of the dt and the element controled by that button inside of the dd.
I included these remarks in my review of PR #282<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_w3c_aria-2Dpractices_pull_282&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=REZD8fc2AwufInstfW3L5jSLVS8bjZtAodDOhat7yAI&m=ITdzvSoQ5TlYmSRF6WVxS40rs8tMEb2KCddyBxUYUYQ&s=8BqXCEa8eaP7QAVJaubUM2QaS74dJ2G4GlPAjbG8Tbw&e=>.
In the PR, everything is a div, which gives 0 semantic structure except for the intervening button elements.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_w3c_aria-2Dpractices_issues_265-23issuecomment-2D279636628&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=REZD8fc2AwufInstfW3L5jSLVS8bjZtAodDOhat7yAI&m=ITdzvSoQ5TlYmSRF6WVxS40rs8tMEb2KCddyBxUYUYQ&s=vf9kn_Tai1QFV_B0_490WJ-jlZbCeWVwTh_jTAIO8dY&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABcE7GCqeg-2DD3ZZZXNyXIfnCxkuJN1uoks5rcWKQgaJpZM4LyFNL&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=REZD8fc2AwufInstfW3L5jSLVS8bjZtAodDOhat7yAI&m=ITdzvSoQ5TlYmSRF6WVxS40rs8tMEb2KCddyBxUYUYQ&s=uDsKqkfFX7IeaEY5hEZQilKsNrawpMuCJ7Ut6TZML7A&e=>.
|
Per discussion in issue #264 and #265 for review of disclosure examples, made the following changes. 1. Use CSS generated images instead of entities for visual state information 2. For disclosure controls, use HTML button element instead of span elements with role=button 3. In FAQ, moved answers inside of a `p` element inside of the `dd` element. 4. Fixed call to method for displaying html source. 5. Revised title and H1 to include the word "Example". 6. Change heading inside long description example to H3 from H2 7. Fix typos 8. Add accessibility features section describing use of CSS.
Correct typo in first paragraph: |
Correct typo in Role, Property, State, and Tabindex Attributes > aria-expanded="false": |
In the Keyboard Support section: Only Enter toggles the visibility. Space blinks the visibility, but doesn't leave it open in order to read. Using FF and keyboard only to navigate. |
modified examples/disclosure/disclosure-faq.html: Corrected two misspellings of the word "hidden" identified by @annabbott in issue #265.
Enter and Space now toggle visibility = fixed. |
I am also hesitant to use DL,DT and DD for this example. My understanding for these tags are for listing "data" like a data table instead of using table tag. This FAQ example seems to be that they are rather the list of questions. We have a FAQ example using bootstrap library. |
I agreed with advantages of semantics by using dl, dt and dd (ex: how many items in the list and skip to the list item if a user wants) so we are closing this issue as it is. |
Review process is complete for examples/disclosure/disclosure-faq.html. Removed link to review issue #265.
Team, Thank you for all the feedback on this Example. All task force reviews are now complete, and I am closing the task force review process. |
The example of using a
disclosure for answers in a FAQ
is ready for review.
Requested reviews
The text was updated successfully, but these errors were encountered: