-
Notifications
You must be signed in to change notification settings - Fork 29
New: Required and optional labels added (Fixes #191) #193
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
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
I'll leave the mock-up for the boxmenu item to @zubair but I've added a simple mock-up of a suggested use case for discussion
|
Co-authored-by: Oliver Foster <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
|
Updated PR description above. Would be good to get feedback/approvals on the new config options before I do the schemas and migration scripts. |
|
Are priority labels needed in any other titles? Page, article, block, component? |
Having the labels available in other areas might be useful. However, Box Menu items do not currently use the core heading templates as they are set up a little differently. For instance, box menu items have an aria-label for the item graphic and do not have instruction text. Changes to the heading templates would be required. If we did add priority labels to other titles, we would want fine-grained control. For instance, either add the object to each specific content object, article, block, and component: Or set global config for each type of element: This seems like it would be a separate issue from adding to box menu items as it would apply to core elements rather than Box Menu which is a plugin. |
|
These are the places that ariaLabels are important: Often we have sub-contentobject settings, menu, page, menuitem, etc It might be better to include the settings in core and have the boxMenu tie into it rather than having some settings in the plugin and some in the core. |
@oliverfoster Could you clarify this comment about ariaLabels? The new priority labels do not use
Are you suggesting to move the logic that sets the |
|
Sorry, no. I meant that contentobject is a group of multiple configurations that should probably be separated into its constituent parts. Use ariaLabels as the inspiration on which to granulate your settings. |

Fixes #191
To do‼️
Will wait on general feedback before doing the following tasks:
New
Notes
Testing
Add to course.json:
Related
Styling: adaptlearning/adapt-contrib-vanilla#567