shahriar.shanto — back to portfolio
Accessibility auditIndependentWCAG 2.2 AA

ACCESSIBILITY AUDIT · NOV 2026

myGovA Bangla portal that never says it’s Bangla.

A Bangla-first government portal, with its own accessibility toolbar, that never tells a screen reader it is written in Bangla.

Audited: Staging home page · stage.mygov.bd

myGov staging home page at 1440 px: green header with citizen and office login buttons, an accessibility icon and service category buttons.
myGov staging at 320 px with Bangla service headings.
The audit in 90 seconds

One address for every government service, in Bangla

The site

The government’s one-stop portal for citizen services, in staging. Its text is about 90% Bangla.

What I tested

The staging home page with the notice closed: two engines, the accessibility tree, a keyboard walk and each suspect control operated by hand.

What I found

The team clearly cares: there is a skip link and an accessibility toolbar. But the page declares no language, the closed toolbar steals 13 Tab stops, and the FAQ can’t be opened by keyboard.

Fix first

Move lang="bn" to the html element, remove the hidden toolbar from the tab order, and make each FAQ question a button.

16findings, ranked
6blockers and serious
6WCAG rules failed
0document language

Highest risks

  • P0The page has no language; Bangla is read with the default voice (MG1)
  • P1Pinch-zoom is switched off (MG2)
  • P1Focus starts in the footer after the notice closes (MG3)
Plan · Scope

What was in the room

The portal routes citizens to hundreds of services. Its text is about 90% Bangla: 2,307 Bangla characters against 263 Latin. It already ships a skip link and an accessibility toolbar, so the team clearly cares. The gaps are in the plumbing underneath.

HOW MIGHT WE

make sure a blind citizen hears this portal in Bangla, and reaches login and services in a sensible order?

DisclosureIndependent audit of a publicly reachable staging site, not commissioned by or affiliated with the a2i programme or the Government of Bangladesh. Staging may differ from production. Findings describe the page as served on 5 Nov 2026.

Core tasks
Read the notice, find a service, citizen login, registration
Page audited
stage.mygov.bd home, signed out
Out of scope
Service forms, login flows, the chatbot itself
Constraint
Staging environment; production may differ
Yardstick
WCAG 2.2 AA; axe critical and serious issues first
Role
Sole auditor: testing, analysis, priority mapping, fixes
Type
Unsolicited accessibility audit, portfolio case study
Tools
axe-core, Playwright + Chromium, DevTools accessibility tree; NVDA next
Scope
Staging home page, signed out, desktop 1440 and mobile 320
Standard
WCAG 2.2 AA, with best-practice rules
Status
Automated and scripted checks done. Not yet tested with users.

Measured automated, repeatableObserved scripted or by handNVDA session recorded screen reader sessionPlanned still to do

Plan · Method

Five passes,
all repeatable.

Every number on this page comes from these runs. Scripts and raw output ship in assets/evidence/.

  1. Automated scanaxe-core 4.10.2 in Chromium, WCAG 2.0–2.2 A and AA plus best practice; IBM Equal Access as a second engine.
  2. Accessibility treeRole and computed name of every control: what NVDA is given.
  3. Keyboard walkTab pressed from the top of the page; each stop screenshotted focused and unfocused.
  4. Reflow and zoom320 CSS px for sideways scrolling; the viewport tag for pinch-zoom.
  5. Targeted checksDocument language, the password-policy notice (focus containment, Esc, focus return), positive tabindex, iframes, aria-hidden content.

WCAG → priority, automatically

Priority comes from three inputs: WCAG level, severity, and whether it sits on a core task (find a service, log in, register).

  • P0Blocker. A Level A or AA failure that stops a group of users finishing a core task, with no workaround.
  • P1Serious. A Level A or AA failure on a core task with a workaround, or a blocker away from the core tasks.
  • P2Moderate. A Level A or AA failure away from the core tasks, or a best-practice issue that slows screen reader or keyboard use.
  • P3Minor. Polish and best practice with low user impact.
Test · Results

One rule failure that affects every word

  • 6WCAG rules failed8 elements; 5 more best-practice rules on 33Measured
  • 0document languagelang="bn" is on <head>, not <html>Measured
  • 18 / 35stops focused off-screenthe hidden toolbar’s buttons and footer itemsObserved
  • 4positive tabindex valuesthey reorder the whole pageMeasured
  • Offpinch-zoom on mobileuser-scalable=no in the viewport tagMeasured
  • Passreflow at 320 pxno sideways scrollingMeasured

By priority

P0 Blocker1
P1 Serious5
P2 Moderate8
P3 Minor2

By WCAG principle

Perceivable6
Operable6
Understandable1
Robust3

Who each finding affects

Screen reader users14
Voice control6
Keyboard & switch users5
Low vision2
Cognitive & attention1

A finding can affect more than one group.

Interactive field notes · 01

16 gaps, one blocker

One blocker: the page language. Five serious issues: zoom, focus order, focus on the hidden toolbar, the unnamed notice, and an FAQ the keyboard can’t open. Select a finding to see its evidence, who it affects and the fix.

    P0MG1 · LanguageMeasured

    The page has no language; Bangla is read with the default voice

    Evidence
    axe html-has-lang (serious). <html> has no lang; lang="bn" was placed on <head>, where it sets nothing. 2,307 Bangla characters.
    Who it affects
    Every screen reader user. With an English default voice, Bangla is skipped, spelled out or mispronounced.
    Screen reader users
    WCAG 2.2
    3.1.1 Language of Page (A)
    Fix
    Move it: <html lang="bn">. Tag English islands with lang="en".
    P1MG2 · VisualMeasured

    Pinch-zoom is switched off

    Evidence
    axe meta-viewport (critical): user-scalable=no.
    Who it affects
    Low-vision users on phones; some browsers let users override this, many people don’t know how.
    Low vision
    WCAG 2.2
    1.4.4 Resize Text (AA)
    Fix
    <meta name="viewport" content="width=device-width, initial-scale=1">
    P1MG3 · KeyboardObserved

    Focus starts in the footer after the notice closes

    Evidence
    After Esc, focus drops to <body>. The next 10 stops are footer items and frames; the skip link is stop 14 and again 29; the accessibility toolbar takes 17 stops; নাগরিক লগইন (citizen login) is stop 35. 21 elements use a positive tabindex.
    Who it affects
    Keyboard and screen reader users.
    Keyboard & switch usersScreen reader users
    WCAG 2.2
    2.4.3 Focus Order (A)
    Fix
    Remove positive tabindex; make the skip link the first element in <body>; return focus to it when the notice closes.
    P1MG12 · KeyboardObserved

    Hidden toolbar buttons take keyboard focus

    Evidence
    Screenshot comparison: 18 of the first 35 stops are off-screen. Stops 16–28 are the accessibility toolbar’s buttons (font size, contrast, reading guide), focusable while the panel is closed. Citizen login is stop 35.
    Who it affects
    Sighted keyboard users lose sight of focus for 13 presses in a row.
    Keyboard & switch usersScreen reader users
    WCAG 2.2
    2.4.7 Focus Visible (AA) · 2.4.3 Focus Order (A)
    Fix
    hidden or inert on the closed panel; remove it from the tab order until opened.
    P1MG13 · KeyboardObserved

    The FAQ can’t be opened by keyboard

    Evidence
    All 7 questions under সচরাচর জিজ্ঞাসা are <div onclick="divShowHide(…)">: 0 focusable, 0 roles, 0 aria-expanded. IBM Equal Access: aria_eventhandler_role_valid ×8.
    Who it affects
    Keyboard and screen reader users can’t expand an answer; screen readers don’t know the questions are controls.
    Keyboard & switch usersScreen reader usersVoice control
    WCAG 2.2
    2.1.1 Keyboard (A) · 4.1.2 Name, Role, Value (A)
    Fix
    <button aria-expanded="false" aria-controls="faq-1"> around each question.
    P1MG4 · Names & rolesMeasured

    The first thing every visitor meets is an unnamed dialog

    Evidence
    axe aria-dialog-name on #passwordPolicyModal; its h5 title is commented out (axe empty-heading).
    Who it affects
    Screen reader users hear “dialog” and an empty heading.
    Screen reader usersVoice control
    WCAG 2.2
    4.1.2 Name, Role, Value (A)
    Fix
    Restore the title and point aria-labelledby at it.
    P2MG14 · KeyboardObserved

    The language toggle ignores Space, and its names don’t match

    Evidence
    বাংলা and ENG are <span role="button" tabindex="0">: Enter switches, Space does nothing. They are named “Bangla” and “English”, which voice control can’t match to বাংলা. An empty <label for="language-toggle"> sits beside them (IBM label_name_visible ×3, label_content_exists).
    Who it affects
    Keyboard, screen reader and voice control users.
    Keyboard & switch usersScreen reader usersVoice control
    WCAG 2.2
    2.1.1 Keyboard (A) · 2.5.3 Label in Name (A)
    Fix
    <button lang="bn" aria-pressed="true">বাংলা</button> and <button lang="en">ENG</button>; remove the empty label.
    P2MG15 · MotionMeasured

    The poll icon animates without a pause

    Evidence
    The fixed poll widget is an animated GIF (poll-icon.gif) that keeps moving, with no way to stop it.
    Who it affects
    People with attention or vestibular needs.
    Cognitive & attentionScreen reader users
    WCAG 2.2
    2.2.2 Pause, Stop, Hide (A)
    Fix
    A static icon, or animate only once and respect prefers-reduced-motion.
    P2MG5 · Names & rolesMeasured

    Three iframes have no title

    Evidence
    axe frame-title on #a2i-chatbot; 2 more untitled frames. Tab stops 9–10 are frames with no name and no ring.
    Who it affects
    Screen reader users hear “frame”.
    Screen reader usersVoice control
    WCAG 2.2
    4.1.2 Name, Role, Value (A)
    Fix
    title="myGov chatbot"; hide utility frames with tabindex="-1" and aria-hidden.
    P2MG6 · Names & alt textMeasured

    Two images have no alt

    Evidence
    axe image-alt (critical, 2): np_corner_logo.png and the poll widget GIF.
    Who it affects
    Screen readers may read the file name.
    Screen reader users
    WCAG 2.2
    1.1.1 Non-text Content (A)
    Fix
    Name the logo; alt="" if decorative.
    P2MG7 · KeyboardMeasured

    Headings and text are Tab stops

    Evidence
    Footer heading সোশ্যাল কমিউনিটি, the হেল্প ডেস্ক label and an unnamed div have tabindex="0".
    Who it affects
    Keyboard users stop on things that do nothing.
    Keyboard & switch usersScreen reader usersVoice control
    WCAG 2.2
    2.4.3 Focus Order (A) · 4.1.2 (A)
    Fix
    Remove tabindex from non-controls; make হেল্প ডেস্ক a link or button.
    P2MG8 · StructureMeasured

    The heading outline starts at h6

    Evidence
    h6 পরীক্ষামূলক ওয়েবসাইট, then h4, then the h1. Service cards are h6 under h2 (axe heading-order).
    Who it affects
    Screen reader users navigating by heading.
    Screen reader users
    WCAG 2.2
    1.3.1 Info and Relationships (A)
    Fix
    h1 first; service categories h2; cards h3.
    P2MG9 · StructureMeasured

    No main landmark

    Evidence
    0 main, 0 nav; 25 blocks outside landmarks. The skip link works, so 2.4.1 passes.
    Who it affects
    Screen reader users jumping by landmark.
    Screen reader users
    WCAG 2.2
    1.3.1 (A), best practice
    Fix
    <main id="main"> and <nav> for the header links.
    P2MG10 · VisualMeasured

    Two text pairs miss 4.5:1

    Evidence
    Green outline button 4.19:1 on #F0F8F3; video date grey 3.5:1.
    Who it affects
    Low-vision users.
    Low vision
    WCAG 2.2
    1.4.3 Contrast (Minimum) (AA)
    Fix
    See the colour section.
    P3MG16 · Names & rolesMeasured

    Duplicate ids and an unlabelled icon

    Evidence
    6 ids are used more than once (IBM flags 18 to review); one icon svg has no name (svg_graphics_labelled).
    Who it affects
    Screen readers, where an id is used as a label reference.
    Screen reader usersVoice control
    WCAG 2.2
    4.1.2 Name, Role, Value (A)
    Fix
    Unique ids; aria-hidden="true" on decorative SVGs.
    P3MG11 · StructureMeasured

    A header list holds links directly

    Evidence
    axe list on ul.header-right.
    Who it affects
    Screen readers announce a wrong item count.
    Screen reader users
    WCAG 2.2
    1.3.1 (A)
    Fix
    Wrap links in <li>.
    Test · Screen reader

    What a screen reader is given

    Role and computed name from Chromium’s accessibility tree. The biggest item is not a control at all: the document has no language, so the voice is chosen by the user’s default.

    What a screen reader is given → what it should hearAccessibility tree
    1. WhereDocument
      Screen reader receiveslanguage: (lang on <head> ignored)
      Should hearlanguage: bn. NVDA switches to a Bangla voice if one is installed.
    2. WhereOn load: password-policy notice
      Screen reader receivesdialog, · heading level 5,
      Should heardialog, পাসওয়ার্ড নীতিতে পরিবর্তন
    3. WhereAfter Esc, Tab stop 1
      Screen reader receivesheading level 6, সোশ্যাল কমিউনিটি (footer, off-screen)
      Should hearSkip to main content, link
    4. WhereFAQ question
      Screen reader receivesমাইগভ-এ কিভাবে রেজিস্ট্রেশন করা যাবে? (text only, never focusable)
      Should hearমাইগভ-এ কিভাবে রেজিস্ট্রেশন করা যাবে?, button, collapsed
    5. WhereTab stops 9–10
      Screen reader receivesframe,
      Should hearmyGov chatbot, frame
    6. WhereTab stop 7
      Screen reader receivesgeneric, (a div with tabindex=0)
      Should hearnot a Tab stop
    7. WhereEmergency number card
      Screen reader receivesheading, 3 3 3 জরুরি সেবা
      Why it worksaria-label spells out ৩৩৩ digit by digit. Keep this.
    8. WhereNotice dialog focus
      Screen reader receivesTab cycles Close ↔ dialog; Esc closes
      Why it worksFocus is contained correctly. Keep this; just return focus afterwards.
    The password-policy notice open over the myGov home page, with a red close button and Bangla text listing password rules.
    The notice on load. Focus is contained and Esc works; the dialog has no name.

    Moving by keyboard shortcut

    NVDA quick-navigation keys

    The reading order is the bigger story: a screen reader meets 13 toolbar buttons and 5 duplicate skip and menu links before it reaches the logo, because the closed toolbar is not hidden from assistive tech.

    Stops each key finds
    KeyStopsNo name
    H Headings140
    D Landmarks3—
    K Links440
    B Buttons170
    F Form fields10
    G Graphics40
    L Lists3—
    T Tables0—

    The top of the page, in reading order

    1. button, Close
    2. button, decrement font
    3. button, original font
    4. button, increment font
    5. button, Monochrome
    6. button, Invert Colors
    7. button, Big Cursor
    8. button, Highlight Links
    9. button, Show Headings
    10. button, Keyboard Shortcuts
    11. button, Reading Guide
    12. button, Reset
    13. button, Download Screen Reader
    14. link, Skip to main content
    15. link, Go to accessibility menu
    16. link, Close quick accessibility menu
    17. link, Skip to main content
    18. link, Go to accessibility menu
    19. banner landmark
    20. link, myGov logo
    21. heading level 6, পরীক্ষামূলক ওয়েবসাইট
    22. list with 3 items
    23. button, Bangla
    24. button, English
    Test · Keyboard

    36 Tab presses to reach office login

    Logged after closing the notice with Esc. Only 14 of 35 stops show a ring on screen. 18 are focused off-screen: the footer items, and the accessibility toolbar’s 13 buttons, which take focus while their panel is hidden.

    1. headingসোশ্যাল কমিউনিটি✕ focused off-screen
    2. linkGo to myGov facebook page✕ focused off-screen
    3. linkGo to myGov youtube channel✕ focused off-screen
    4. linkGo to myGov instagram page✕ focused off-screen
    5. linkGo to myGov linkedin page✓ focus visible on screen
    6. linkGo to myGov x page✓ focus visible on screen
    7. genericno name✕ focused off-screen
    8. linkপরিকল্পনা ও বাস্তবায়নে A2i ICT devision logo set✓ focus visible on screen
    9. Iframeno name✕ no visible focus
    10. Iframeno name✕ no visible focus
    11. page bodyFocus left all controls✕ nothing focused
    12. genericQuick accessibility menu✓ focus visible on screen
    13. linkClose quick accessibility menu✓ focus visible on screen
    14. linkSkip to main content✓ focus visible on screen
    15. linkGo to accessibility menu✓ focus visible on screen
    16. buttonClose✕ focused off-screen
    17. buttondecrement font✕ focused off-screen
    18. buttonoriginal font✕ focused off-screen
    19. buttonincrement font✕ focused off-screen
    20. buttonMonochrome✕ focused off-screen
    21. buttonInvert Colors✕ focused off-screen
    22. buttonBig Cursor✕ focused off-screen
    23. buttonHighlight Links✕ focused off-screen
    24. buttonShow Headings✕ focused off-screen
    25. buttonKeyboard Shortcuts✕ focused off-screen
    26. buttonReading Guide✕ focused off-screen
    27. buttonReset✕ focused off-screen
    28. buttonDownload Screen Reader✕ focused off-screen
    29. linkSkip to main content✓ focus visible on screen
    30. linkGo to accessibility menu✓ focus visible on screen
    31. linkmyGov logo◐ faint, partly visible
    32. buttonBangla✓ focus visible on screen
    33. buttonEnglish✓ focus visible on screen
    34. generic[icon glyph] হেল্প ডেস্ক✓ focus visible on screen
    35. linkনাগরিক লগইন✓ focus visible on screen
    36. linkদাপ্তরিক লগইন✓ focus visible on screen
    Interactive field notes · 02

    Flag green passes; two greys and a tint don’t

    The portal’s green is 4.53:1 on white and its deep green 5.87:1. On the pale green panel the same green dips to 4.19:1. The fixes keep the hue. Drag each slider to compare the original colour with the fix.

    Green #198754 · 4.53:1Deep green #157347 · 5.87:1Flag red #DC3545 · 4.53:1Yellow #FCDE19 · fill only
    Outline button on tint

    Fails #198754 on #F0F8F3 · 4.19:1 (needs 4.5:1)

    Passes #157347 on #F0F8F3 · 5.43:1, same hue

    Video tutorial date

    Fails #868990 on #FFFFFF · 3.50:1 (needs 4.5:1)

    Passes #73767D on #FFFFFF · 4.55:1, same hue

    Fix · Code

    Four lines of HTML change how it sounds

    Copy-ready changes for the document, viewport, notice and chatbot, ordered by priority.

    Now P0 and P1 · 6

    1. MG1The page has no language; Bangla is read with the default voice
    2. MG2Pinch-zoom is switched off
    3. MG3Focus starts in the footer after the notice closes
    4. MG12Hidden toolbar buttons take keyboard focus
    5. MG13The FAQ can’t be opened by keyboard
    6. MG4The first thing every visitor meets is an unnamed dialog

    Next P2 · 8

    1. MG14The language toggle ignores Space, and its names don’t match
    2. MG15The poll icon animates without a pause
    3. MG5Three iframes have no title
    4. MG6Two images have no alt
    5. MG7Headings and text are Tab stops
    6. MG8The heading outline starts at h6
    7. MG9No main landmark
    8. MG10Two text pairs miss 4.5:1

    Later P3 · 2

    1. MG16Duplicate ids and an unlabelled icon
    2. MG11A header list holds links directly

    Language and zoom

    Closes MG1 and MG2.

    <!-- Before -->
    <html style="font-size:15px">
    <head lang="bn">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    
    <!-- After -->
    <html lang="bn" style="font-size:15px">
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    Focus order and the notice

    Closes MG3 and MG4.

    <body>
      <a class="skip" href="#main">মূল বিষয়বস্তুতে যান</a>   <!-- first, no tabindex -->
    
      <div class="modal" id="passwordPolicyModal" role="dialog" aria-modal="true"
           aria-labelledby="pwTitle">
        <h2 id="pwTitle">পাসওয়ার্ড নীতিতে পরিবর্তন</h2> …
      </div>
    
    <script>
      modal.addEventListener("hidden.bs.modal", () => document.querySelector(".skip").focus());
    </script>

    Chatbot frame

    Closes MG5.

    <iframe id="a2i-chatbot" title="মাইগভ চ্যাটবট" lang="bn" src="…"></iframe>
    Prove · Evidence

    What is proven,
    and what isn’t yet.

    Measured, observed and planned are kept apart. Nothing here is a compliance score.

    Evidence status
    StatusCheckMethod and result
    MeasuredAutomated WCAG A/AA and best-practice rulesaxe-core 4.10.2, 1440 × 900, raw JSON in evidence/
    MeasuredNo sideways scrolling at 320 CSS pxMobile emulation; document scroll width compared with viewport
    ObservedWhat screen readers are givenFull accessibility tree via Chrome DevTools Protocol; role and computed name per control
    ObservedKeyboard order and focus visibilityScripted Tab walk; computed outline and shadow per stop; pixel diff where flagged
    MeasuredSecond engine: IBM Equal Access engine 4.0.34210 issues: 74 violations, 94 to review, 42 recommendations; raw results in evidence/ibm-equal-access/
    ObservedKeyboard operation of suspect controlsEnter, Space and click compared on each mouse-looking control; results in evidence/deep-verification/
    ObservedNotice dialogFocus contained (Tab cycles inside), Esc closes, focus then on body
    PlannedSpoken output with NVDA + Firefox and NVDA + ChromeScripted pass on the core tasks, Speech Viewer log kept
    PlannedTalkBack on Android ChromeSame tasks on the 320 px layout
    PlannedTask testing with screen reader and keyboard users3–5 participants per core task

    Two engines, side by side

    IBM Equal Access engine 4.0.34 (rule set IBM_Accessibility) ran in Chromium on 6 Nov 2026, after scrolling every section into view: 210 issues, made up of 74 violations, 94 items to review and 42 recommendations. Where the two engines differ, the page was checked by hand.

    axe-core vs IBM Equal Access
    Checkaxe-coreIBM Equal AccessVerdict
    Page languagehtml-has-langMissing on the page and on one frameAgree. MG1.
    Tabbable elements with no widget roleNot a rule22 (element_tabbable_role_valid)Agree with the keyboard walk. MG3, MG7, MG12.
    Click handlers on plain divsNot a rule8 (aria_eventhandler_role_valid)New: MG13. The FAQ can’t be opened by keyboard.
    Label in nameNot flagged3: toggle and toolbar buttonsNew: MG14.
    Frames without title1 (chatbot)2Agree. MG5.
    Images without alt22Agree. MG6.
    Contrast22 violations, 5 to reviewAgree. MG10.
    Duplicate idsNot flagged18 to reviewConfirmed 6 duplicates. MG16.

    Deeper checks

    A deeper pass by hand and by script: semantics, landmarks, ARIA, images, hidden content and operating every suspect control by keyboard, on the live staging page with the notice closed.

    Deeper checks
    CheckResultEvidenceFindings
    Semantic HTMLWeak263 of 602 elements are divs; 0 nav, main or article; 24 focusable non-controls; 21 positive tabindex values.MG3, MG7, MG9
    Mouse-only controlsFailAll 7 FAQ questions open only on click.MG13
    Language togglePartialEnter works, Space does not; names “Bangla” and “English” don’t match the visible বাংলা and ENG.MG14
    Focus visibilityFail18 of the first 35 stops are focused off-screen; 13 of them are the closed accessibility toolbar.MG12
    Names a screen reader hearsGood, wrong language45 of 45 links and 17 of 17 buttons named, but in Bangla under no page language.MG1
    ARIAMixed44 aria-labels; one aria-label on a role-less div; 0 live regions; 0 aria-expanded on the FAQ.MG13
    Moving contentMinorThe poll icon is an endlessly animated GIF.MG15
    Next · Handoff

    What already works,
    and what comes next.

    The team built a toolbar for accessibility. One misplaced attribute decides whether a blind citizen hears the portal in Bangla at all.

    Keep these

    • PassA working skip link and a built-in accessibility toolbar
    • PassThe notice dialog contains focus and closes with Esc
    • PassThe emergency number ৩৩৩ has a spelled-out label
    • PassAll 45 links and 18 buttons have names
    • PassNo sideways scrolling at 320 px

    Next steps

    • NextNVDA with a Bangla voice: before and after the lang fix
    • NextRe-test on production
    • NextCheck the 9 contrast pairs axe could not decide
    • NextAudit citizen login and one service form