frojd-jewl's People
frojd-jewl's Issues
Question: What is Popup-component?
Is the popup-component finished? It seems to be the same as Accordion.
Bug: Navigation Drawer is missing overlay + focus trap
There should be an overlay for Navigation Drawer when expanded, as when doing a modal popup.
Tabbing should be focused inside the menu, not reach links or other elements outside.
Suggestion: Use ariakit for modals, popovers and form components
It's tree shakable (good for performance) and good accessibility wise, and (relatively) easy to style.
Feature/Bug: Contrast between Active and Hover state is not sufficient
The contrast value between active and hover-state is not sufficient to pass. We should be able to write a function that generates a more accessible color? Maybe something similar to this: https://css-tricks.com/programming-sass-to-create-accessible-color-combinations/
Enhancement: Remove default props from functional components
According to facebook/react#16210 defaultProps
on functional components are deprecated and will be removed in a feature version of React. defaultProps
should instead replaced with default values on arguments.
Quick example:
Functional component with defaultProps should go from this:
const Accordion = ({title, text, open, id}) => {
...
Accordion.defaultProps = {
title: '',
text: '',
open: false,
id: 'accordion',
};
to this:
const Accordion = ({title = '', text = '', open = false, id = 'accordion'}) => {
...
Bug: Textlink and Textlink White hover-states are not the same
Textlink and Textlink White have different hover-states, they should be the same but inverted. I am not sure what the correct version is, but Textlink White loses border bottom on hover.
Suggestion: Add component for scip-to-content that is triggered when user is tabbing
Skip-to-content is regularly used by users who can't navigate/scroll an entire page looking for content. When doing information heavy sites, it can be really useful.
https://www.w3.org/WAI/GL/WCAG20-TECHS/G1.html
See reference: https://www.svt.se/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.