-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: update fundamental-styles to 0.13.1-rc.2 #1266
Conversation
Deploy preview for fundamental-react ready! Built with commit 3f3d9d1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One q, otherwise looks good in QA
<Button | ||
aria-label='Pie chart' | ||
glyph='pie-chart' | ||
selected /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
selected
was removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was removed as an attribute of the underlying <button>
but not as a prop. It still is used to apply a classname.
<a | ||
className={classnames(`${cssNamespace}-breadcrumb__link`)} | ||
href={url} | ||
tabIndex='0'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we need to explicitly set a tabindex
for an a
?
EDIT: never mind, it's inside the <li>
with the negative tabindex, disregard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing it seems to still work, but I think it's safest to keep it in case there are some browser/screen reader combos that might not tab to these links.
This reverts commit 970a9f4.
disabled | ||
options={options} | ||
placeholder='Select' /> | ||
); | ||
export const readOnly = () => ( | ||
<Select | ||
aria-label='readOnly' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't sure how the screen reader would sound with the concatenated word readOnly
but it sounds no different than if it were "Read Only" 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA with VoiceOver, all new aria-labels
are awesome!
Everything else works as expected!
BREAKING CHANGE
Description
This update includes:
Button
no longer hasselected
attributeTab
aria attributes and role moved from thea
to theli
Breadcrumb
androle="menu"
addedaria-labels
for icons