Skip to content

Conversation

wuda-io
Copy link
Member

@wuda-io wuda-io commented Mar 8, 2023

Proposed changes

Pulled the changes from main into the dev branch.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

  • I have read the CONTRIBUTING document.
  • My commit messages follows the conventional commit format
  • My change requires a change to the documentation, and updated it accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

mauromascarenhas and others added 22 commits December 7, 2022 18:36
Improve slider support to assistive technologies (e.g.: screen readers):

- Add "pause" options to slider initialization:
    - pauseOnFocus: Slider should pause when receive keyboard focus;
    - pauseOnHover: Slider should pause when hovered by mouse;
- New "indicatorLabelFunc": Must generate ARIA labels for indicators;
- New eventPause prop: is true if slider is paused by focus/hover event;
- Slider must receive id if does not have one;
- Sliders are able to receive focus by code;
- Non-current slides are also hidden in CSS (also from screen readers);
- Add button to indicators:
    - Update CSS;
    - Update event handlers.
- Indicator click should focus current slide.
Implement slider tests:

- Add HTML test implementation for Slider;
- Add jasmine test spec for Slider (js + fixture).
- Add description for new initialization options;
- Add description for new instance properties;
- Add alternative text for images (updating code samples);
- Update Slider init code sample to include indicatorLabelFunc example.
- Add missing indicatorLabelFunc prop to Slider#options;
- Replace double quotes string by single quotes;
- Replace vanilla JS calls by jQuery functions.
- Replace double quotes string by single quotes;
- Replace vanilla JS calls by jQuery functions.
Mark "indicatorLabelFunc" as optional in docs description and code samples.
documentation links to relative links
fix: navbar-link, workflow and serve docs directly via grunt
Refactor tabs: cleaned code and removed jquery also removed hashing function
@wuda-io wuda-io changed the base branch from main to v2-dev March 8, 2023 12:10
@wuda-io wuda-io merged commit 17e998b into materializecss:v2-dev Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants