Part 1 of a series on Angular accessibility, from a deliberately broken baseline to a fixed app.
I've spent years building large Angular applications, and accessibility problems almost always come from small, ordinary decisions made under deadline pressure. To show that, I built Openbook, a small fictional personal-finance app, and made it inaccessible on purpose. Over this series, I'll fix it step by step.
Openbook is a demo. The data is invented, there's no backend or real authentication, and it has no connection to any real product or company.
Repo: openbook-angular-a11y
Starting point: the post-01-baseline tag
How this audit was done (and what it isn't)
This post is a code-review audit. I read the source and predicted what a user with a keyboard or a screen reader would hit. I have not yet run axe, tested with NVDA or VoiceOver, or checked zoom behavior. Everything below is a prediction, not a measurement.
Part 2 will compare these predictions against real tool results, including where I turn out to be wrong. Automated tools find only part of the problems, so I'm splitting the findings into what a scanner will probably catch and what it probably won't.
The app
Openbook has three screens: a login form, an accounts dashboard with a transactions list, and a money-transfer form. Navigation and a toast message sit on top of them. It's built with Angular 21, standalone components and signals.
What an automated scanner will probably flag
These issues are structural, so I expect tools like axe to report them. I'll confirm the exact rule names in Part 2.
1. Icon buttons with no accessible name
<button class="icon-btn" (click)="go('/accounts')"> <svg width="20" height="20" viewBox="0 0 24 24"><path d="..."/></svg> </button> A screen reader user hears "button" and nothing else. There's no text, no aria-label, and no title.
2. No landmarks, no main region
The whole shell is made of divs. There's no <header>, <nav> or <main>, so screen reader users can't jump between regions, and there's no skip link.
3. Heading problems
The login page uses an h3 as its only heading. The accounts page goes from h1 straight to h4. Headings are how many screen reader users scan a page, so skipped levels make the structure hard to follow.
4. A select with no name
The "from account" dropdown on the transfer page has no label.
5. Low color contrast
The navigation links, the icons and the helper text use light colors on backgrounds that, by my reading of the CSS values, are likely to fail the WCAG AA contrast ratio. I haven't measured the ratios yet.
6. Possibly no page language
The page may not declare its language, which affects how screen readers pronounce the text.
A note on placeholder-only inputs: both the login and transfer forms rely on placeholders instead of labels. I'm not sure whether axe treats a placeholder as an accessible name. If it doesn't flag them, that's worth discussing: a scanner passing isn't the same as the form being usable.
What a scanner will probably miss
These are the ones that hurt users most, and they need manual testing.
1. Clickable divs instead of buttons and links
<div class="nav-item" (click)="go('/accounts')">Accounts</div> <div class="btn" (click)="signIn(email.value, pass.value)">Sign in</div> A div can't be reached with the Tab key and doesn't respond to Enter or Space. A keyboard user can't navigate the app or even sign in. Forms built this way also lose the Enter-to-submit behavior.
2. Focus outlines removed
* { box-sizing: border-box; outline: none; } Even where focus lands, sighted keyboard users can't see where they are.
3. Meaning carried by color alone
- Login errors are a red "!" and nothing else.
- Invalid transfer fields only get a red border, with no error text and no
aria-invalid. - Credits and debits differ only by green or red text.
Color alone excludes people with color blindness and anyone using a screen reader.
4. The transactions "table" isn't a table
It's built from divs, so screen readers can't announce rows, columns or headers. The sortable "Amount" header is a div with a click handler, so it's unreachable by keyboard and doesn't announce its sort state.
5. The toast is silent
The "Transfer sent" message appears visually and disappears after four seconds. Without a live region, a screen reader user may never know it happened.
6. Navigation gives no signal
The page title never changes between screens, and focus doesn't move when the route changes. In a single-page app, a screen reader user may not realize the page changed at all.
Prediction summary
| Area | Flaw | Scanner likely to catch? |
|---|---|---|
| Structure | No landmarks or skip link | Partly |
| Structure | Heading levels skipped | Likely |
| Controls | Icon buttons unnamed | Likely |
| Controls | Clickable divs | No |
| Forms | Placeholder-only inputs | Unsure |
| Forms | Color-only errors | No |
| Forms | Select without a name | Likely |
| Keyboard | Focus outline removed | No |
| Data | Div-based table | No |
| Dynamic | Silent toast | No |
| Navigation | Static title, no focus move | No |
| Visual | Low contrast | Likely |
Roughly half of these are things scanners tend to miss. That's the main lesson of this post: a clean automated report is a starting point, not proof of accessibility.
What's next
In Part 2, I'll run axe on all three pages and compare the results to this list, including where I got it wrong. Then I'll start fixing, beginning with semantic HTML, landmarks and headings.
Clone the repo, check out post-01-baseline, and try the app with your keyboard only. How far do you get?
What accessibility problem do you run into most often in Angular projects? I'd like to hear it in the comments.