-
Notifications
You must be signed in to change notification settings - Fork 542
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
[JS][Renderer][Accessibility] Action.OpenUrl rendered buttons should have the "link" aria role #3914
Conversation
We have acknowledged this issue report. Please continue to follow the issue for updates/progress/questions. @matthidinger / @dclaux / @RebeccaAnne / @paulcam206 / @nesalang / @almedina-ms FYI. |
@paulcam206 wanna take a stab at this unless @dclaux already has been working on it? This is a partner (Dynamics) accessibility blocker |
Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes |
@paulcam206 wasnt there an issue backing this PR? I could have sworn this was an issue not a PR and it's gotten pretty confusing with the triage etc.. Whats going on here? |
/azp run |
No pipelines are associated with this pull request. |
yep - as I noted in the description, I used a new tool to generate the PR not knowing that it would just convert the issue into a PR rather than create a new PR 😬 |
/azp run |
No pipelines are associated with this pull request. |
@dclaux approved over Teams |
* updated visualizer for template support * [UWP] Remove weak reference to ellipse object in image renderer (#3739) * [UWP] Remove weak reference to ellipse object in image renderer Fixes #3720 * Remove weak reference to ellipse * Fix ImageBrush leak * Add person style to Image.BackgroundColor sample to catch regressions * Update samples * Update weak ref comment Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * [.NET] Stub out _CheckForGenerateAppxPackageOnBuild target (#3966) This is a workaround for a regression in VS2019 16.5.0. A fix has been checked in, but won't ship until 16.7.1 Preview 1, so this workaround will have to do for now. * Fixed inputs not passed while used in ActionSet (#3962) * [JS] Render Action.OpenUrl with role=link (#3914) Fixes #3914 * Added Template Element Cards * updated for review comments * fixed ci build error and added custom function unit test * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * Added Template Element Cards * updated sample files for Tempalte Elements * Updated sample cards * Updated samples with dateFormat Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * Updated WPF visualizer with template (#3958) * updated visualizer for template support * [UWP] Remove weak reference to ellipse object in image renderer (#3739) * [UWP] Remove weak reference to ellipse object in image renderer Fixes #3720 * Remove weak reference to ellipse * Fix ImageBrush leak * Add person style to Image.BackgroundColor sample to catch regressions * Update samples * Update weak ref comment Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * [.NET] Stub out _CheckForGenerateAppxPackageOnBuild target (#3966) This is a workaround for a regression in VS2019 16.5.0. A fix has been checked in, but won't ship until 16.7.1 Preview 1, so this workaround will have to do for now. * Fixed inputs not passed while used in ActionSet (#3962) * [JS] Render Action.OpenUrl with role=link (#3914) Fixes #3914 * Added Template Element Cards * updated for review comments * fixed ci build error and added custom function unit test * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * Added Template Element Cards * updated sample files for Tempalte Elements * Updated sample cards * Updated samples with dateFormat Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * Updated surface API * Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * Updated to RC4 of AEL Updated Samples * Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * added suffix variable for template ci build * Added VersionPrefix Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* migrated codes to dotnet source * updated surface api * added parser debugging tool & update names * Added comments and cleaned up the codes * Refactored code, added more comments and updated README * Added API marked down and added more comments * formatting fixes * updated DataContext and addressed CR comments * added more comments * Updated grammar * fixed ci build error and added custom function unit test * Updated WPF visualizer with template (#3958) * updated visualizer for template support * [UWP] Remove weak reference to ellipse object in image renderer (#3739) * [UWP] Remove weak reference to ellipse object in image renderer Fixes #3720 * Remove weak reference to ellipse * Fix ImageBrush leak * Add person style to Image.BackgroundColor sample to catch regressions * Update samples * Update weak ref comment Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * [.NET] Stub out _CheckForGenerateAppxPackageOnBuild target (#3966) This is a workaround for a regression in VS2019 16.5.0. A fix has been checked in, but won't ship until 16.7.1 Preview 1, so this workaround will have to do for now. * Fixed inputs not passed while used in ActionSet (#3962) * [JS] Render Action.OpenUrl with role=link (#3914) Fixes #3914 * Added Template Element Cards * updated for review comments * fixed ci build error and added custom function unit test * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * Added Template Element Cards * updated sample files for Tempalte Elements * Updated sample cards * Updated samples with dateFormat Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * Updated surface API * Updated to RC4 of AEL Updated Samples * .Net Template Internal Feed Changes (#3986) * Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * Updated WPF visualizer with template (#3958) * updated visualizer for template support * [UWP] Remove weak reference to ellipse object in image renderer (#3739) * [UWP] Remove weak reference to ellipse object in image renderer Fixes #3720 * Remove weak reference to ellipse * Fix ImageBrush leak * Add person style to Image.BackgroundColor sample to catch regressions * Update samples * Update weak ref comment Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * [.NET] Stub out _CheckForGenerateAppxPackageOnBuild target (#3966) This is a workaround for a regression in VS2019 16.5.0. A fix has been checked in, but won't ship until 16.7.1 Preview 1, so this workaround will have to do for now. * Fixed inputs not passed while used in ActionSet (#3962) * [JS] Render Action.OpenUrl with role=link (#3914) Fixes #3914 * Added Template Element Cards * updated for review comments * fixed ci build error and added custom function unit test * updated visualizer for template support * Added Templat support to visualizer * Addes Samples Scenario for Template * Added Template Element Cards * updated sample files for Tempalte Elements * Updated sample cards * Updated samples with dateFormat Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> * Updated surface API * Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * Updated to RC4 of AEL Updated Samples * Added a nuget.config for daily build with AEL MyGet * added suffix variable for template ci build * Added VersionPrefix * updated version prefix * Updated version * added suffix variable for template ci build * Added VersionPrefix Co-authored-by: Paul Campbell <paulcam@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> Co-authored-by: shalinijoshi19 <shalinij@microsoft.com> Co-authored-by: Paul Campbell <paulcam@microsoft.com>
@paulcam206 did this make it in to release/1.2 for 1.2.9 ? (sorry it missed my radar since it was converted to a PR and I'd been tracking issues) |
🎉 Handy links: |
@shalinijoshi19 Is this bug got fixed and changes are available in the latest release? |
Details
Currently all actions get rendered as
<button>
elements with role "button". When a button opens a link, as is the case forAction.OpenUrl
, it should have the "link" role instead.Important
Just a note on the weirdness of this PR. I used a new tool to create this PR, which converted the issue into a PR rather than creating a new PR. I won't use it again, but it's why this looks weird. 👍
Description
Simple fix to have
OpenUrlAction
objects setrole="link"
.How verified
Microsoft Reviewers: Open in CodeFlow