-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement OnyxHeadline #569
Comments
Result of presentation from @jannick-ux:
|
Relates to #569 <!-- Briefly describe the changes of this PR. --> ## Checklist - [x] The added / edited code has been documented with [JSDoc](https://jsdoc.app/about-getting-started) - [x] All changes are documented in the documentation app (folder `apps/docs`) - [x] If a new component is added, at least one [Playwright screenshot test](https://github.com/SchwarzIT/onyx/actions/workflows/playwright-screenshots.yml) is added - [x] A changeset is added with `npx changeset add` if your changes should be released as npm package (because they affect the library usage) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Relates to #569 Implement headline skeleton ## Checklist - [x] The added / edited code has been documented with [JSDoc](https://jsdoc.app/about-getting-started) - [x] If a new component is added, at least one [Playwright screenshot test](https://github.com/SchwarzIT/onyx/actions/workflows/playwright-screenshots.yml) is added - [x] A changeset is added with `npx changeset add` if your changes should be released as npm package (because they affect the library usage) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
For a11y
|
Relates to #569 (comment) - hide `#` for screen readers - add title and aria description - automatically normalize hash so the user doesn't have to do this ## Checklist - [x] A changeset is added with `npx changeset add` if your changes should be released as npm package (because they affect the library usage)
Depends on
Design
Figma
Acceptance criteria
#anchor
to the URL and copy it the clipboard#
of thetarget
mode is ignored for the left-alignment of the headline:out-of-scope:
Implementation Details
target
can be implemented without js:id
can be generated based on thetext
prop. A simple approach to escape special characters would be to replace them with underscores, e.g.props.text.replace(/\W/gi, "_")
.Definition of Done
apps/demo-app/src/views/HomeView.vue
Approval
The text was updated successfully, but these errors were encountered: