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

Long descriptions for generated shapes/graphs etc. #1178

Open
oucnelson opened this issue Apr 30, 2024 · 4 comments
Open

Long descriptions for generated shapes/graphs etc. #1178

oucnelson opened this issue Apr 30, 2024 · 4 comments
Assignees

Comments

@oucnelson
Copy link

Hello,

I am passing on a request from Maths colleagues from The Open University (UK).

They would like a collapsible long description widget where they can surface generated descriptions for generated shapes/graphs etc.

As they say a picture is worth a thousand words, here are some mockups of what the collapsible button could look like as a starter for ten (screenshots based on OU Moodle theme):
STACK with long description 01
STACK with long description 02

I don't seem able to attach an example STACK question, but it allows me to attach a zip, so here is a zipped STACK question!
questions-MST368-24J-adjmatrix A2-20240430-1403.zip
In this question, my colleagues were trying to place the generated description into our transcript filter (which doesn't work because our filters don't get called in the way they've tried to use them). Our transcript filter is a collapsible widget, and then they asked me when it didn't work!

Therefore, please could we have a collapsible long description widget that we can place in the question text and call generated descriptions for generated assets.

Many thanks in advance.

@christianp
Copy link
Contributor

christianp commented Apr 30, 2024

(I'm not a STACK person but this is within my area of expertise)
If you can, use the standard <details> tag

@oucnelson
Copy link
Author

@christianp Thanks for that tip - I wasn't aware of that tag(!). I don't think it quite fully does what my colleagues want, but I've passed it along and will update this ticket if so.

@sangwinc
Copy link
Member

sangwinc commented May 8, 2024

Thanks @christianp, I agree the

tag is probably what we will choose to use to render the long description. However, it would make sense to have a consistent mechanism for tagging the information as such. So, some kind of a [[longdescription]]...[[/longdescription]] block associated with an image would enable our bulk checker to identify images without this accessibility feature would be sensible.

@hayden-MB
Copy link
Collaborator

hayden-MB commented Jul 9, 2024

Hello @oucnelson! Could I ask what features you would have for this block in an ideal word which the html details option, or the [[hint]] block with an alternative title, does not provide? If we are designing this feature we don't want to be focusing on the wrong aspect of the request.

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

No branches or pull requests

4 participants