Custom Web Portals: Accessible Status for Jobs AI Processes in the Background
Using a portal where clients upload receipts for AI to read, design job status that screen readers announce without moving focus, following W3C Status Messages. Decide what is announced and when, then measure whether fewer clients resubmit because they could not tell what was happening.
Published by Mentrix Digital · · Updated

Key points
- A job that takes several minutes needs a concrete text status at every stage, not just a spinner, and screen readers must be able to pick up each status message without focus moving to it.
- Announce only on state changes and at agreed progress milestones. A counter that ticks every second can be shown on screen but stays out of the announced region, while errors the client must fix use an urgent alert.
- “Waiting for staff review” must be true: AI cannot close a job while items still await a person, and the text clients see comes from approved templates rather than wording AI composes afresh each time.
The upload finishes, the page goes quiet, and clients upload again
A fictional accounting firm runs a portal where small business clients upload a month of expense receipts, as PDFs and photos, 20 to 60 files at a time. After upload, AI reads the date, vendor, amount and tax, and drafts bookkeeping entries; anything it reads with low confidence waits for an accountant. A batch takes 3 to 15 minutes. The old page showed only a spinner with no text, so clients using a screen reader heard nothing after pressing submit. Some refreshed, saw an empty upload page and sent the same batch again, or phoned to ask whether the files had arrived. This is a hypothetical scenario, not client work.
WCAG 2.2 covers this under criterion 4.1.3. When the receipt portal updates its status without moving focus, a screen reader needs a way to pick up the change. A useful test is to submit a batch using only the keyboard: can you tell that the files arrived and which ones need attention while your focus stays on the same control? See the W3C explanation of Status Messages (https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html).
This differs from fixing errors in a form, which happens before the system accepts the data, and from a project status page the team updates weekly. Here the system has accepted the job, but the work runs in the background for minutes. The question is whether clients can tell which stage the job is at and whether to wait or act, without watching the screen constantly and without having focus pulled away from what they are doing.
If what you need is weekly project updates for clients, a different job from live processing status, see the AI-drafted client project update guide →
Seven client-facing states and how each is announced
Start by listing the states clients will see before designing the screen. The system may have more internal states, such as a processing queue or automatic retries, but clients do not need every step. Merge them into states that say whether to wait or act. Every state shows a job reference, such as RC-2611-0042, and the last update time as text. For the fictional receipts portal:
- Received: “40 receipts received. Job RC-2611-0042. You can close this page; processing continues.” Announced politely (role="status") once. This is the most important message, because it answers whether the files arrived.
- Checking files: file type, size and duplicates within the batch. Announced politely on entry.
- AI reading receipts: the screen shows “12 of 40 read” and keeps updating, but only entry into the state and the halfway point are announced, not every file.
- Waiting for staff review: “AI has finished. 3 receipts need an accountant's check before the summary. Reviews are usually done by the next working day.” Announced politely, quoting only a turnaround the firm can genuinely meet.
- Ready: “40 bookkeeping entries are ready,” with a link to the results. Announced politely, without moving focus to the link.
- Action needed: “2 files could not be read: 1 blurred photo and 1 password-protected PDF. The other 38 are being processed.” Uses an urgent alert (role="alert") because the client must act, with the affected file names listed on the page.
- System problem: “Processing has paused because of a system problem. All files are kept; there is no need to upload again. Our team has been notified.” Uses an urgent alert and gives the job reference to quote when getting in touch.
If you need a custom job portal built with every status and announcement written into the spec, see Websites & Landing Pages →
Announcement rules for the developer
WCAG does not mandate a single technique, but the 4.1.3 Understanding page cites common ones: role=status for general status messages, role=alert or live regions for errors, and role=log for information appended in sequence. role=status carries an implicit aria-live value of polite, meaning the screen reader finishes what it is saying first, while role=alert is assertive and interrupts at once. Reserve alerts for things the client must act on. If every state is an alert, clients are interrupted so often that they stop listening.
A common real-world failure is correct text that nobody hears, because the announced region was created at the same moment as its message. Some screen readers announce only changes inside a region that already exists, so place an empty announced region on the page at load and change the text inside it later. On a Blazor Server site, page updates arrive over a real-time connection. If that connection drops, the page must say it is reconnecting, and on return it must fetch the latest state from the server rather than trust whatever is left in the browser.
- Never move focus when the state changes. A client typing a note to the accountant keeps typing, with the cursor where it was.
- Keep the on-screen progress counter separate from the announced region. The counter may change every second; the announced region changes only on entering a new state and at the halfway point, no more than six times per job in the normal case.
- Announced text must make sense without seeing the screen, such as “AI has read 20 of 40 receipts”, not a bare “50%”.
- State is never conveyed by colour or icon alone. Every state has a text label that stays readable at 200% zoom on a phone.
- State is stored on the server against the job reference. Refreshing, closing and reopening, or opening on another device shows the same state, never an empty upload page.
- The submit button is disabled after the first press, and the server refuses an identical batch from the same client while the first job is unfinished, showing a link to the existing job instead of creating a new one.
- Do not promise an email when the job finishes unless the system has a tested email destination.
How to tell a retry after a timeout from a genuinely new submission is covered in the B2B duplicate request guide →
Screen reader test script and pass criteria
Test with a batch that holds no real client data and exercises every state, for example 40 files including 1 blurred photo, 1 password-protected PDF and 3 receipts designed to give AI low confidence. Test with at least two tool combinations clients actually use, such as NVDA with a browser on Windows and VoiceOver with Safari on iPhone, plus keyboard only. The tester notes everything heard, with times, and compares it with the state table. The job passes only when every check below passes on every combination, not on average.
This script confirms that messages are announced as specified; it does not replace trying the portal with people who use screen readers every day. Where possible, invite a client or tester who relies on a screen reader to submit a real job at least once before launch.
- Each state in the table is announced exactly once per transition: none missing, none repeated.
- While the job runs, focus never moves, and text typed into the note field is still all there.
- Action-needed and system-problem states interrupt immediately; other states never interrupt what is being read.
- Refresh during AI reading: within 5 seconds the page shows the current state and the same reference, and no new job exists.
- Drop the network for 30 seconds and reconnect: a reconnecting message appears, and the state afterwards matches the server.
- Resubmit the same batch while the first job is unfinished: no second job, and the page links to the existing one.
- A normal job produces no more than 6 announcements, counted from the tester's notes.
If you want job state changes logged for testing and reporting, see Automation & Business Software →
Measuring after launch: resubmissions and “where is my job” contacts
Agree the definitions before launch. A resubmission is a new job from the same client whose files match at least 80% of an unfinished job within 30 minutes, checked by file hash rather than file name. The denominator is all jobs in the same period, excluding test accounts. The second measure is status enquiries per 100 jobs, with staff tagging incoming contacts against a fixed list of reasons. Both measures show only indirectly whether clients understood the status, so read them alongside the test records above.
The following figures are a hypothetical example to show the calculation, not results from a real system. Suppose the month before the change had 220 jobs, 18 of them resubmissions: 18 ÷ 220 = 8.2%. There were 31 calls or chats asking about status, or 14.1 per 100 jobs. Before launch, the firm set the threshold: after 4 weeks and at least 150 jobs, the resubmission rate must be below 4%. If it is not, review each resubmission to see which state it happened in. If most occur during “Waiting for staff review”, that message is not yet clear enough about how long the client will wait. Compare before and after with the same definitions, and count attempts the server refused as duplicates too, rather than dropping them because the system caught them.
If these figures appear as report tables in the portal, making headers, units and periods readable is covered in the accessible report tables guide →
AI reads in the background, people check uncertain items, and status text comes from templates
AI sits only in the step that reads receipts and drafts entries. Job status is computed from real data in the system, not from AI reporting that it has finished. A job becomes “Ready” only when nothing is left in the accountants' queue. If AI is unsure about an item, it waits for a person, and the status says plainly that it is waiting for a person rather than hiding behind “Processing” to look faster.
The text clients see and hear comes from templates written in Thai and English, with slots only for numbers, file names and the reference. AI can help in preparation, for example by clustering reasons files could not be read from historical logs that hold no client data and suggesting where a new template is needed, but the portal owner writes the final wording and approves it before use. Templates make messages predictable: screen reader users hear the same sentence shape every time, every message can be tested, and AI never promises a turnaround the firm did not give. If the AI service fails, the job stops at the system-problem state, the files remain, and accountants can take the batch over by hand.
If you want AI reading documents in the background, with a review queue for people and status that reflects reality, see Custom AI Solutions for Business →
Errors caught before the system accepts a job, such as an invalid field, follow different wording rules; see the guide to forms that help users fix errors →


