swisspost / design-system

The Swiss Post Design System - for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
125 stars 14 forks source link

Browser support: baseline #4021

Open gfellerph opened 3 days ago

gfellerph commented 3 days ago

Should we define standards in how we deal with web platform features that are described by baseline?

Suggestion:

Example: Focus styles (https://github.com/swisspost/design-system/blob/main/packages/styles/src/mixins/_utilities.scss#L115) has a fallback for cases where :focus-visible is not supported. However, this feature has a baseline: widely available. The mixin is used in a lot of components and removing the fallback could simplify the code.

oliverschuerch commented 1 day ago

@gfellerph This should be discussed in the next monthly.