Skip to content
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

Details does not take text content #98

Open
itpastorn opened this issue Jul 7, 2012 · 9 comments
Open

Details does not take text content #98

itpastorn opened this issue Jul 7, 2012 · 9 comments
Labels

Comments

@itpastorn
Copy link
Contributor

Details is probably not the right element to hide speaker notes. This way of using the element is not like an "accordion" in any way.

A plain old div with a class of "notes" should probably be better.

@itpastorn
Copy link
Contributor Author

Or class="details"

@hsablonniere
Copy link
Collaborator

Humm yes, I was also wondering if <details> was the best choice...

Seems that http://html5doctor.com/element-index/#details says it's not the best choice for footnotes. Our usage is very similar to a footnote.

What about that ?

<div data-dz-notes>
...
</div>

@itpastorn
Copy link
Contributor Author

The data attribute is for storing values. Using it in a boolean way with no value serves no purpose.

However there is a role=note that could be the best choice.

@hsablonniere
Copy link
Collaborator

Well, I agree on the fundamental about the data attributes. Sometimes I find it easier to read and less cluttered than classes.

I really like the ARIA approach. I completly forgot to check that up. Thx.

Do you feel like proposing a pull request ?

@itpastorn
Copy link
Contributor Author

I'm on vacation in low bandwidth country. Give me a couple of weeks.

@hsablonniere
Copy link
Collaborator

Take your time. I'll always be happy to merge contributions... ;-)

@hsablonniere
Copy link
Collaborator

@itpastorn? Do you still feel like proposing a pull request?

@itpastorn
Copy link
Contributor Author

Actually, I've just begun working on slides again this week. Answer is probably. Will try to fix this tomorrow.

@hsablonniere
Copy link
Collaborator

No rush, don't worry ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants