-
Notifications
You must be signed in to change notification settings - Fork 411
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
Improve event details markup structure #6116
base: a11y
Are you sure you want to change the base?
Conversation
foxbunny
commented
Dec 25, 2023
- Add appropriate section headings to event details
- Replace the jQuery code for the participant list with a custom element
- Fix minor layout issues and remove .align-top class
a4dbf4b
to
f01bef0
Compare
2ed86db
to
7e0dbcc
Compare
ebf7b31
to
4d0f625
Compare
@ThiefMaster Is this a pipeline issue? Maybe you could re-run this? |
84e0295
to
00dd0af
Compare
} | ||
linesFound++; | ||
if (linesFound > cutOffLines) { | ||
// We have crossed the cutOffLines thrshold, so no need to test further |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// We have crossed the cutOffLines thrshold, so no need to test further | |
// We have crossed the cutOffLines threshold, so no need to test further |
Is there anything missing in the PR? |
Other than that typo you pointed out, I don't think so. |
indico/modules/events/registration/templates/display/event_header.html
Outdated
Show resolved
Hide resolved
|
||
markCollapsible = () => { | ||
clearTimeout(this.debounceTimer); | ||
this.debounceTimer = setTimeout(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't want to use _.debounce()
from lodash? ;)
How do you get that even thing? |
the zoom thing? unfortunately only by having the zoom plugin enabled and configured... but the |
Can you give me the outer HTML for the common ancestor of the button and the chevron? I'll insert it into the page and figure out what's going on. |
Those should be converted to a table with |
here's the html for the full videoconference thing: https://bpa.st/raw/HL2NWPWW5NVGGPMOTYLTFCSEFE |
Interesting... so the expand/collapse trigger comes after the details. That must be fixed, too. I'll get on this tomorrow. |
I would be fine converting this to a table BTW :) I think back then I thought a dl has better semantics than a table, since it's not really tabular data... BTW the source for this in the plugins is |
It's technically not tabular data. That's why Tbh, I don't really know what the best markup would be in these cases. As far as screen readers and such are concerned, it's enough that these are read sequentially. A colon is usually desirable to add a pause between the label and the value, tho. |
Ok, so, since the plugin is not part of the code base, I'm going to revisit it at a later date. For now I've assumed that 100px was enough margin, and converted it to 8em. Let me know if that works. I'll install the plugin later once I'm done on the existing PRs and revisit the table layout later. |
709028f
to
f55a01a
Compare
f55a01a
to
07a3de1
Compare
- Add appropriate section headings to event details - Replace the jQuery code for the participant list with a <ind-collapsible> custom element - Fix minor layout issues and remove .align-top class
07a3de1
to
9942f69
Compare