Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

chore: Updated golden screenshot after Win Chrome browser update #4824

Closed
wants to merge 25 commits into from

Conversation

moog16
Copy link
Contributor

@moog16 moog16 commented Jun 11, 2019

Screenshot updates: text spacing changed in helper text and char counter

Matt Goo and others added 25 commits June 3, 2019 04:19
Remove the top and bottom padding from the components. Remove the top and bottom margins from the button content. Button content should be center aligned. Use a <button> tag for the chip.

BREAKING CHANGE: Update mdc-chip-leading-icon-margin and mdc-chip-trailing-icon-margin mixins signatures to take only left and right margin values.
…dleClick/#handleKeydown. (#4655)

BREAKING CHANGE: Dialog `Foundation#handleInteraction` has been split into two methods: `#handleClick` and `#handleKeydown`.
…on group (#4620)

BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
…4697)

BREAKING CHANGE: Removed `$mdc-checkbox-ui-pct` sass variable from `MDCCheckbox`
Add Adapter#getInitialFocusEl API. initialFocusEl will be the element passed in to Adapter#trapFocus. This formalizes the a11y-aligned idea of adding focus to an initial element (in #trapFocus) into the API.

BREAKING CHANGE: Dialog Adapter#getInitialFocusEl has been added and Adapter#trapFocus first argument is now the initialFocusEl.
…dapters (#4701)

BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
Add MDCChipAdapter#setAttr method. Update screenshot tests with appropriate roles.

BREAKING CHANGE: Add the setAttr method to the chip adapter.
Use 100vw as it doesn't have the same browser incompatibilities that 100vh does (see PR #4746 for context). 100% width on the other hand breaks on mobile/Safari.
…u item. (#4779)

aria-checked is advised in ARIA spec for selectable menu items:
* w3.org/TR/wai-aria-1.1/#menuitemcheckbox
* w3.org/TR/wai-aria-1.1/#menuitemradio
…d menu items. (#4777)

Otherwise, there's no differentiation between disabled/enabled menu items in Windows high contrast mode.
…B. (#4786)

Instead, TAB should close the menu and respect default browser tab order.

BREAKING CHANGE: The following adapter methods were removed: isFirstElementFocused, isLastElementFocused, focusFirstElement, focusLastElement. The following functionality to handle TAB on menusurface has been removed: "If TAB and last element is focused => Focus on first element", "If SHIFT + TAB and first element is focused => Focus on last element"
Copy link
Collaborator

@abhiomkar abhiomkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide more info in PR & Commit message when you 'Squash & Merge'.

fix(select): screenshot update => chore: Updated golden screenshot after Win Chrome browser update

@moog16 moog16 changed the title fix(select): screenshot update chore: Updated golden screenshot after Win Chrome browser update Jun 12, 2019
@moog16
Copy link
Contributor Author

moog16 commented Jun 12, 2019

Will do !

@moog16 moog16 changed the base branch from develop to master June 12, 2019 16:21
@moog16
Copy link
Contributor Author

moog16 commented Jun 12, 2019

Closing since this needs to be introduced into master.

@moog16 moog16 closed this Jun 12, 2019
@moog16 moog16 deleted the fix/select-screenshots branch June 28, 2019 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants