Fix: Improve accessibility of expand/collapse controls in Test Results view#10497
Fix: Improve accessibility of expand/collapse controls in Test Results view#10497ZallaxDev wants to merge 1 commit into
Conversation
|
'Fold out' is not correct English. 'Unfold' would be better in this case. As this variable is a commons variable, are you sure that it is not used elsewhere? 'Expand content' is very general, whereas the new proposal is more specific - will it be correct in all usage scenarios? |
|
@ZallaxDev: Thank you very much for your work. Could you please change the English language variable to “unfold”? Thank you very much. |
|
This is still wrong, that a common language variable uses component-specific content.
And as far as I know, we do not add English content to anything other than ilias_en.lang - but @matthiaskunkel please correct me if I have a misinterpretation here. |
|
Thanks @ZallaxDev for this PR. But I have a question and at least one request: It looks as if this language label is used in the UI component, right? In this case 'common' would be the correct language_module_ID. But if it only used in Test & Assessment it should be become assessment#:#expand_content#:... It is very nice that you also changed other languages than English (and German), even for some with translation. But you do not need to do this. We have a script running from time to time that synchronises the English lang file with all others. But if make a change, then please update the timestamp after the entries. e.g. ###29 07 2022 new variable. This timestamp has to be substituted by a timestamp like '###4 12 2025 changed content' in case you made a translation or '###4 12 2025 new variable' if you only paste the English label into another language. Otherwise translators of these languages get confused. Thanks and kind regards, |
|
Hello @Chris-Squirrel, @Annett7811, @dsstrassner and @matthiaskunkel: Thank you very much for your time and feedback 😊 We have taken note of everything and will make the necessary corrections before rolling out the changes to the other versions of ILIAS. I also appreciate the comments regarding the protocols for naming language variables. We have only been working with them directly on the platform for a short time, and this feedback is very valuable in helping us improve our procedures. We will let you know as soon as the changes are ready. Best regards, |
|
Hello everyone, @Annett7811 , What exactly is wrong with “Expand content” and “Collapse content”? I understand that the same functions should be described here with the same label. However, there is no “Show less” counterpart to “Show more.” Therefore, I would say: If you need to discuss this, feel free to do so here or in an external call. Best regards, |
|
Hello everyone! @oliversamoila: Thanks for the clarification. I agree with the proposed approach and have no objections. Thanks a lot for the discussion and the work on this. Best regards |
|
Hello, how we gonna proceed here? Any objections or missing feedback? Or can the PR be merged? |
oliversamoila
left a comment
There was a problem hiding this comment.
Hello everyone,
@thibsy and I discussed this at the end of last week. I just didn't get around to posting the feedback yet.
We would like to completely remove the ‘Show more’ in the form of a shy button. This results in clear and predictable focus guidance – or rather, it allows us to create it.
@ZallaxDev, would you please remove this functional area and any associated code and update the PR accordingly? As a result, language adjustments are no longer necessary. Please request a review again once this has been done.
@Annett7811: just regarding Inio: Thibeau and I discussed that we should pay attention here to ensure that the collapse/expand function, which is also included in the title of the object, is not read aloud twice. But that's just a side note.
Best regards,
@oliversamoila (as UI Coordinator)
8490587 to
915b2d8
Compare
34b0083 to
9d90a03
Compare
|
Hi @oliversamoila, We have submitted the commit that removes the “Show more” shy button from the form. Could you please review the changes and let us know whether any additional adjustments or implementation steps are needed? Best, |
Adjusted the language variable used for expand/collapse controls in the
Test → Results → Detailed Resultsview to enhance accessibility and provide clearer, more consistent labeling.This update ensures that assistive technologies can better interpret the purpose of the buttons.
Reference: Ticket #43953.
Additionally, we have included the modification in all languages and it has been specifically translated for: