db-ui / mono

DB UX Design System Monorepo - Provides Design Tokens and components for Web UIs
https://db-ui.github.io/mono/review/main/
Apache License 2.0
38 stars 6 forks source link

Card: provide `button` or `a` tag within the `card` component #212

Open mfranzke opened 1 year ago

mfranzke commented 1 year ago
          We should either use a `button` or `a` HTML tag within the `card` component to enable keyboard and screenreader compatibility.

_Originally posted by @mfranzke in https://github.com/db-ui/mono/pull/211#discussion_r1073673263_

nmerget commented 1 year ago

We should use <button> for interactive cards and then there should be a disabled prop for UX and tech