Expose host binding info to template diagnostics

This issue has been created since 2022-09-07.

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

Many a11y checks would be enabled if we could analyze the host bindings of any directives on a node.

This would enable Extended Diagnostics to look at host bindings as well as the static template values, which enables better a11y diagnostics like:

as well as additional context like:

  • checking
    is not used as an interact-able element (as a bad button replacement)
  • invalid nesting (e.g. div inside h2)
  • more!
jelbourn wrote this answer on 2022-09-08

To corroborate: it's super common for components and directives to apply ARIA roles and attributes via host bindings. Without having knowledge of those bindings, we can't surface potential a11y problems without encountering a lot of false positives.

angular-robot[bot] wrote this answer on 2022-09-08

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

More Details About Repo
Owner Name angular
Repo Name angular
Full Name angular/angular
Language TypeScript
Created Date 2014-09-18
Updated Date 2022-09-30
Star Count 84080
Watcher Count 3064
Fork Count 22235
Issue Count 1197

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[Feature Request] Line style 1 2022-01-04 2022-08-14
Can the project run under Windows system? Any friends who have been tested? 2 2021-12-13 2022-07-31
Feature Request: (Zoom 3?) Expand window up to the screen edge 4 2022-08-20 2022-09-20
Ctrl-F should not close the search widget 14 2022-01-12 2022-09-20
Horizontal scrolling in Firefox 6 2022-08-18 2022-09-20
Call targets not found 8 2021-09-20 2022-08-17
Access to parent field through __ does not work 1 2021-02-15 2022-09-20
[Feature request] Add cmdline option for SSD over provisioning 8 2021-04-02 2022-09-07
NYTimes cooking subscription bar on all pages 2 2021-08-18 2022-08-24
Extremely choppy webcam performance in GNOME Cheese 1 2022-03-11 2022-09-29
Error launching on Java latest 1 2022-01-28 2022-09-23
How to distinguish between the cadl namespace and the language namespace? 2 2022-08-12 2022-08-29
versionedDependency decorator is confusing 11 2022-08-12 2022-08-29
Feedback on decorator collapsing 4 2022-08-12 2022-08-29
Self-referencing submodule? 3 2021-04-17 2022-07-07
Dynamically choose most recent source_ami 0 2022-04-28 2022-09-22
missing calculate in Instrument::additionalResults() ? 1 2021-09-08 2022-09-07
How to add checkIcon into selected CirclePicker 1 2022-02-11 2022-09-17
Crashes when trying to open a log file on Linux Fedora 33 3 2021-02-09 2022-07-24
Native ARM Co Pro: Add Pi Type to OSBYTE A=00 Response 0 2021-07-08 2022-09-07
[Bug] Exporting Project fails with embedded Images 0 2021-12-21 2022-08-30
Security Gasmasks Trigger the FOV 4 2021-12-21 2022-09-26
Gboard return doesn't work for code 0 2022-05-03 2022-09-26
如何修改默认的路径 /swagger 3 2021-02-04 2022-09-28
[Bug Report] Icons not loading 5 2021-10-19 2022-08-29
[FEATURE] Add additional documentation to documentation.json 2 2022-02-24 2022-09-22
[BUG] Error genering documentation 8 2022-02-24 2022-09-22
Use the name of the sender from the mail object 2 2021-08-30 2022-09-17
expo start Error: Non-fatal error updating development session API: FetchError: request to https://api.expo.dev/v2/development-sessions/notify-alive failed, reason: Client network socket disconnected before secure TLS connection was established 8 2022-08-14 2022-09-17
selfsigned ssl is not working in Tenant - curl: (35) Peer reports it experienced an internal error 2 2021-12-10 2022-09-26
Can't upload file when caching enabled 12 2021-12-14 2022-09-26
Probleme in IAM Policy 1 2021-12-13 2022-09-26
排名轮播表的valueFormatter功能不起作用(之前好用),区别在于之前的代码是master分支上的代码,现在是dev分支上的 0 2022-01-24 2022-09-15
Share your use-case 89 2020-01-09 2022-01-23
Add toImmutableSortedMap and toImmutableSortedMapBy to Collectors2 0 2021-09-03 2022-09-10
Consider renaming "AllowedRoutes" to "RouteConstraints" 5 2021-09-10 2022-09-26
issue_number is ignored 3 2021-11-09 2022-09-23
以中文开头命名的图片上传后文件名丢失 3 2021-08-06 2022-01-15
Archival solution in hyperledger fabric 1 2022-09-01 2022-09-15
crud的table能否接入websocket实时更新表格里面的数据 0 2021-12-19 2022-07-16
How to extract a human friendly explanation for most significant features in a model (using LIME)? 1 2021-07-29 2022-09-29
arn:aws:s3:::ooni-data-eu-fra 2 2022-08-08 2022-08-18
Bluetooth random disconnects intel(R) AX200 1 2021-05-04 2022-09-20
Unable to create a bar graph with endpoints with enum metadata 3 2022-07-06 2022-09-20
Readme.md Training VM points to a 404 page. 1 2021-12-03 2022-09-17
Broken Integration 3 2021-10-05 2022-01-02
CRC error during cache restore 4 2022-01-21 2022-07-28
Incorrect type annotation or docs for TCPConnector(limit=...) 1 2022-02-16 2022-09-13
Dynamic policy_definition_reference block fails creation in new azurerm_policy_set_definition resource 5 2022-01-10 2022-08-17
iOS Sandbox Push not working 1 2017-10-24 2022-09-30