Skip to content
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

uikit bugs #1055

Closed
kryp71c opened this issue Sep 11, 2019 · 9 comments
Closed

uikit bugs #1055

kryp71c opened this issue Sep 11, 2019 · 9 comments

Comments

@kryp71c
Copy link

kryp71c commented Sep 11, 2019

I am using Pattern Lab Node v3.0.3 on Mac, with Node v10.15.0, using a Vanilla | Custom Edition and uikit-workshop version 1.0.3

@sghoweri nice job creating the new look for the uikit. 👍
This is copied over from gitter.

I wanted to share some issues I noticed (issues on Mac using Chrome unless otherwise noted):

  1. Menu tree initially closed when submenu pattern is displayed
    sub menu tray closed on page load
    To test open menu navigate to pattern with subpatterns, select sub pattern, wait for page to load and open the menu again. The arrow indicating the drawer state will point down, but the drawer is closed.
    e.g. Organisms > Global ... reveals two sub-patterns: Header and Footer ... Organisms > Global > Header ... opens the header pattern ... clicking on Organisms again after the page has loaded reveals the menu with the global section closed but the arrow indicator pointing down.
    State not hoisted/persistent?

  2. Internet Explorer 10 gets a blank page
    This issue existed before the recent uikit updates.
    Due to javascript that is not supprted by older browsers (e.g. ie10 doesn't support mutation observer which is used in the uikit).
    Not sure which browsers patternlab is meant to support. However, some of us, unfortunately, need to support legacy browsers due to institutional requirements.

  3. Logo proportions are distorted in IE11
    distorted patternlab logo
    From past experience, removing the width and height attributes from the svg, ensuring there is a viewbox attribute, and adding preserveAspectRatio="xMinYMax meet" to the svg; then setting width height attributes on the img tag and controlling scaling with css seems to work accross browsers if the svg needs to be responsive.

  4. Fractional widths in the screen width form are cropped.
    cropped numbers
    Perhaps these need to be rounded, or the form width increased?

  5. a11y
    insufficient contrast in dark theme placeholder text
    insufficient contrast in light theme placeholder text

  • The Search form "Find A Pattern" placeholder has insufficient contrast with the new colors (in both the dark and light theme).
  • The Search form input needs a label (placeholders are not label replacements)
  • The screen size form needs descriptive text. Maybe a visually hidden fieldset legend?
  • The tools tooggle button (gear) needs visually hidden descriptive text (title attribute is not sufficient for a11y)
  • missing focus outlines or equivalent on menu drawer toggle buttons (arrows)
  • missing focus outlines on resize viewport buttons (they do have hover backgrounds on the light theme)
  • missing focus outlines tools toggle button (it does have a hover background in the light theme)
  • missing focus outlines on tools menu items (in dark theme)
@sghoweri sghoweri self-assigned this Sep 11, 2019
@kryp71c
Copy link
Author

kryp71c commented Sep 17, 2019

The pattern states seem a little misaligned (mac/Chrome):
Alt text

@sghoweri
Copy link
Contributor

I might end up breaking these out into a couple separate buckets so we can chip away at these:

  • IE 10 support / addressing and clarifying cross browser support (and different options)
  • Nav UI bug (probably relating to the vertical vs horizontal layout behavior)
  • PL logo SVG getting stretched (strangely I don’t think we have this issue on https://boltdesignsystem.com/pattern-lab/?p=components-overview 🤔)
  • Displaying the viewport size vs space available
  • Addressing accessibility issues flagged

@dcmouyard
Copy link
Contributor

The pattern states seem a little misaligned (mac/Chrome):
Alt text

I created an issue and PR to fix this: #1060

@stale
Copy link

stale bot commented Nov 17, 2019

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@sghoweri
Copy link
Contributor

Bump! I need to rereview each of the items flagged here but for what it’s worth, I know a number of these have been addressed as of the latest batch of UIKit updates released.

@stale
Copy link

stale bot commented Jan 16, 2020

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@stale
Copy link

stale bot commented Feb 15, 2020

Issue closed after going stale. It can be re-opened if still relevant.

@stale stale bot closed this as completed Feb 15, 2020
@sghoweri sghoweri reopened this Feb 16, 2020
@stale
Copy link

stale bot commented Apr 17, 2020

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@stale
Copy link

stale bot commented May 17, 2020

Issue closed after going stale. It can be re-opened if still relevant.

@stale stale bot closed this as completed May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants