devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Hints in assignment editor #132

Open torgeirl opened 1 year ago

torgeirl commented 1 year ago

The assignment editor support some HTML tags such as <details> and its <summary> that some assignment courses have used to add hints with. These lack ARIA attributes and don't seem to be accessible to all users. We should probably add a better mechanism for hints, that work for all user agents. Edit: since <details> and its <summary> are native HTML elements they shouldn't require ARIA attributes.


Related: some of these hints are styled with <u> tags, creating underlined elements that aren't links but act like it by toggling the non-summary text of the hint on/off. We should probably make these work in a better way to eliminate hacky workarounds like that.