2

fix(bcd): wrap cells in button + refactor by caugner · Pull Request #5648 · mdn/...

 2 years ago
source link: https://github.com/mdn/yari/pull/5648
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

@caugner caugner commented on Mar 16

edited

Summary

Partly fixes #5494.

Problem

Previously, there were two focus points per BCD cell.

Solution

Wrapping the BCD cell in a button and removing the tabindex from the cell itself, we reduce the number of focus points to one.


Screenshots

Before (Desktop)

After (Desktop)

Before (Mobile)

After (Mobile)


How did you test this change?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK