* fix item 2: All page content should be contained by landmarks
* fix item 4. Elements must only use permitted ARIA attributes
* fix item 6. ARIA attributes must conform to valid values
* fix bug on item 6. and fix item 7. <ul> and <ol> must only directly contain <li>, <script> or <template> elements
* fix item 8. Interactive controls must not be nested
* fix item 10. ARIA toggle fields must have an accessible name
* fix item 11. autocomplete attribute must be used correctly
* fix item 12. Form elements must have labels
* fix item 14. ARIA input fields must have an accessible name
* fix item 15. Buttons must have discernible text
* fix item 16. Images must have alternative text
* working on item 17
* finish fix item 17. ARIA role should be appropriate for the element
* fix wrong role in hidden inputs
* address pr comments
* Create new `useDropdownItem` composable
This composable defines common methods that can be shared across different dropdown menu item types.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create new `RcDropdownMenuItemCheckbox` component
`RcDropdownMenuItemCheckbox` specifies the styles and behaviors for a menu items that acts as a checkbox.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create a select item dropdown component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move container actions into dedicated component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Toggle container logs actions based on environment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix type for labeledSelect component ref
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Replace trigger mixin data with event.stop
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix typo: LocaleSelector
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
Because the locale selector is located at the bottom of the login page, it feels more natural to use the `up` key to select an item after opening the menu with the mouse. The default behavior when opening the menu with the keyboard will remain unchanged.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* fix keyboard nav on login screen
* adjust for dark mode
* remove border radius from focus styles + dont open locale selector on focus
* add missing aria label
* minor fixes based on another PR comment
* remove tabbingindex from components + fix checkbox component disabled state
* remove tabbingindex from checkbox
* remove tabbingindex from LocaleSelector
* address pr comments
* Prevent ESLint to format generated paths
* Add HTML ESLint Rules
* Format all the Vue HTML templates except Harvester
* Exclude Harvester package from linting HTML, keeping old formatting rules
* Created LocaleSelector component
* Updated backend on lacal changes
* Hide none option in language list
* Fixed hovered state and added down arrow to dropdown list
* Fixed preferences error on login screen
* Corrected order of check
* Added variable to stor value before login
* Fix locale saving when not logged in
* Removed commented code and add comments for variable
* Added local in user-preferences page
* Added loginc in commit for settign user Preference
* Changes local selector template as per the login and user preference page
* Removed extra class, fixed tags closing
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
* Created LocaleSelector component
* Updated backend on lacal changes
* Hide none option in language list
* Fixed hovered state and added down arrow to dropdown list
* Fixed preferences error on login screen
* Corrected order of check
* Added variable to stor value before login
* Fix locale saving when not logged in
* Removed commented code and add comments for variable
* Added loginc in commit for settign user Preference
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>