Skip to content

Conversation

wassgha
Copy link
Contributor

@wassgha wassgha commented Dec 31, 2019

Closes #26176, Closes #25049, Closes #25022

Changes

  • Brings a11y changes from amp-sidebar 0.2 to version 0.1
  • Removes code and experiment definition from the never launched amp-sidebar 0.2

@wassgha wassgha requested a review from cathyxz December 31, 2019 01:16
@wassgha wassgha requested review from caroqliu and removed request for kristoferbaxter December 31, 2019 01:16

if (!element.hasAttribute('role')) {
element.setAttribute('role', 'menu');
element.setAttribute('role', 'dialog');
Copy link
Contributor

Choose a reason for hiding this comment

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

This is potentially a breaking change if people use role=menu to set styling. Do we know why we're making this change? Or, is this a change that ideally only applies when amp-nested-menu is a child component of amp-sidebar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is coming from #24382 and that's true, it's a breaking change. Not sure how to proceed here.

Copy link
Contributor

Choose a reason for hiding this comment

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

To be on the safe side, I would recommend gating this change under an aggressively rolled out experiment (you can directly set it to 100% and monitor for two release cycles), or putting it in an isolated PR that allows a clean rollback, but feel free to use your discretion.

element.setAttribute('role', 'menu');
element.setAttribute('role', 'dialog');
}
element.setAttribute('aria-modal', 'false');
Copy link
Contributor

Choose a reason for hiding this comment

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

The aria change is solid.

@mrjoro
Copy link
Member

mrjoro commented Jun 11, 2020

Is this PR still active?

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@stale
Copy link

stale bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale Inactive for one year or more label Oct 1, 2022
@stale stale bot closed this Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Stale Inactive for one year or more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intent-to-Remove: amp-sidebar 0.2 I2I: <amp-sidebar> v0.2 Clean up "amp-sidebar-v2" experiment
6 participants