Computing

How to Use Shavian Unicode in CSS for Web Accessibility

Learn how to embed the Shavian alphabet in web pages using CSS, convert English to Shavian with ShawAlphabet.com, and make your site accessible to all users.

Shavianโ€”named after playwright George Bernard Shawโ€”offers a perfectly phonetic alternative to English spelling. ShawAlphabet.com is the only online hub that brings this elegant script into the digital age with converters, virtual keyboards, and teaching tools. This article will walk you through how to embed Shavian in your CSS, convert text, type in the script, and keep your web content accessible to everyone.

What is the Shavian Alphabet and Why Was It Created?

The Shavian alphabet, formally known as โ€œShawโ€™s New Alphabet,โ€ was devised in 1906 by Shaw as a response to the irregularities of English orthography. It contains 48 characters: 24 consonants, 12 vowels, and 12 ligatures, each representing a single phoneme. The goal was to create a oneโ€‘toโ€‘one correspondence between spoken sounds and written symbols, eliminating the ambiguity that plagues traditional spelling.

Visual or Interactive Example: English vs. Shavian

English Shavian
cat ๐‘•๐‘š๐‘ฉ
street ๐‘ช๐‘™๐‘•๐‘‘๐‘Ÿ
thought ๐‘ข๐‘ง๐‘›
through ๐‘‚๐‘š๐‘—
rhythm ๐‘ฎ๐‘ช๐‘š๐‘ฅ

How It Works: The Phonetic Spelling System

The alphabet is divided into three groups:

  • Consonants (24) โ€“ Each symbol is a single consonant sound.
  • Vowels (12) โ€“ Represent long and short vowel phonemes.
  • Ligatures (12) โ€“ Combined symbols for common digraphs (e.g., ๐‘ˆ for “sh”, ๐‘ถ for “ng”).

Below is a condensed chart of the most common letters and their IPA values. For the full chart, see the Unicode chart on ShawAlphabet.com.

Shavian IPA English Example
๐‘‘ t top
๐‘• s sun
๐‘ด oสŠ go
๐‘š b bat
๐‘ถ ล‹ sing
๐‘ˆ สƒ shy
๐‘ฆ ษช hit
๐‘š๐‘จ หˆbรฆ bat

Common English Words in Shavian

  1. hello โ€“ ๐‘ง๐‘ค๐‘ช
  2. friend โ€“ ๐‘“๐‘ฎ๐‘ฆ๐‘•๐‘›
  3. beautiful โ€“ ๐‘š๐‘ด๐‘‘๐‘ฆ๐‘“๐‘ฐ๐‘‘
  4. technology โ€“ ๐‘‘๐‘ง๐‘’๐‘Š๐‘Ÿ๐‘–๐‘–
  5. university โ€“ ๐‘ฉ๐‘ฏ๐‘ฐ๐‘ถ๐‘๐‘Ÿ๐‘™
  6. question โ€“ ๐‘ ๐‘ด๐‘ฏ๐‘ด๐‘•๐‘ฏ
  7. history โ€“ ๐‘ฃ๐‘ฆ๐‘–๐‘•
  8. music โ€“ ๐‘ฅ๐‘ฐ๐‘•๐‘ฆ๐‘Ÿ
  9. philosophy โ€“ ๐‘“๐‘ฏ๐‘Ÿ๐‘ต๐‘•๐‘ท
  10. environment โ€“ ๐‘ฆ๐‘ฏ๐‘ฆ๐‘›๐‘ง๐‘š๐‘ฌ๐‘”

Accent and Dialect Notes

Because Shavian maps phonemes directly, it is inherently accentโ€‘neutral. A word like โ€œtomatoโ€ can be written the same way whether you pronounce it “tuh-mah-to” (American) or “tah-moh-to” (British). The script captures the sound, not the regional variation, making it ideal for global learners.

Common Mistakes Beginners Make

  • Confusing ๐‘ˆ (sh) with ๐‘ฆ (i) โ€“ both look similar but serve different purposes.
  • Forgetting ligatures โ€“ e.g., writing ๐‘ง๐‘’ instead of ๐‘ถ for the โ€œngโ€ sound.
  • Misplacing the โ€œrโ€ sound โ€“ ๐‘ซ is a rolled โ€œrโ€; ๐‘ญ is a weak โ€œrโ€.
  • Mixing uppercase and lowercase โ€“ unlike Latin, Shavian case is not used for grammatical purposes.
  • Ignoring vowel length โ€“ ๐‘ฑ (short a) vs. ๐‘ง (long a) can change meaning.

Practical Exercise

Convert the sentence: โ€œThe quick brown fox jumps over the lazy dog.โ€ into Shavian. Use the chart above to help you.

Answer: ๐‘‘๐‘ผ ๐‘ฆ๐‘‘๐‘๐‘ฝ ๐‘š๐‘ฎ๐‘ช๐‘•๐‘› ๐‘“๐‘ด๐‘• ๐‘›๐‘˜๐‘ง๐‘“๐‘• ๐‘ด๐‘๐‘Ÿ ๐‘‘๐‘ผ ๐‘ค๐‘จ๐‘Ÿ๐‘ฆ ๐‘›๐‘ด๐‘œ.

Limitations or Controversies

Despite its logical design, Shavian has never gained mainstream traction. Critics point to the cost of learning a new script, the lack of typefaces, and the entrenched use of Latin characters. However, the alphabet remains a fascinating case study in phonetic reform and is widely used in academic circles, linguistic software, and by enthusiasts.

Historical Context

George Bernard Shaw proposed the alphabet in 1906, publishing it in his 1913 pamphlet โ€œA New Alphabet.โ€ The first practical text, โ€œAndrocles and the Lion,โ€ appeared in 1919. Shawโ€™s motivation was to improve literacy and reduce the cognitive load of spelling. The alphabet was later encoded in Unicode (U+10400โ€“U+1044F) in 2005, making it digitally viable.

Shavian Unicode in CSS for Web Accessibility

Embedding Shavian in a web page involves two main steps: (1) loading a webfont that contains the Shavian glyphs, and (2) using CSS to apply that font to the desired elements.

1. Load the Shavian Font

Choose a free Shavian font such as Shavian by Paul Thomas. Host the font files (TTF/WOFF2) on your server or use a CDN. Then add an @font-face rule:

@font-face {
  font-family: 'Shavian';
  src: url('fonts/Shavian-Regular.woff2') format('woff2'),
       url('fonts/Shavian-Regular.ttf') format('truetype');
  unicode-range: U+10450-1047F;
  font-weight: normal;
  font-style: normal;
}

2. Apply the Font with CSS

Use a class or lang attribute to target Shavian text:

.shavian {
  font-family: 'Shavian', monospace;
  font-size: 1.2em;
}
/* Or using the lang attribute */
[lang="shv"] {
  font-family: 'Shavian', monospace;
}

Remember to specify a fallback (e.g., monospace) for browsers that cannot load the custom font. This ensures graceful degradation.

3. Accessibility Considerations

  • Screen Readers: Use lang="shv" so that the screen reader knows the text is Shavian and will attempt to pronounce it using a Shavian pronunciation model if available.
  • Alternative Text: For images containing Shavian, provide an alt attribute with the phonetic transcription or a plainโ€‘text translation.
  • Keyboard Navigation: Ensure that Shavian text is focusable if it contains interactive elements.
  • Contrast & Readability: Shavian characters are designed to be distinct, but check contrast ratios to meet WCAG 2.1 AA.

Using ShawAlphabet.com Tools

  • Converter โ€“ Paste English text and instantly receive Shavian output. The tool also shows the Unicode code points for each character.
  • Virtual Keyboard โ€“ An onโ€‘screen Shavian keyboard that supports all 48 letters. Click or tap to insert characters into your document.
  • Typing Practice โ€“ Interactive lessons that provide instant feedback on accuracy and pronunciation.
  • Flashcards โ€“ Download printable flashcards for offline study.
  • Downloadable Fonts โ€“ Direct links to the latest Shavian TTF/WOFF2 files.

Typing Shavian with Unicode

For advanced users who prefer a physical keyboard, you can type Shavian using Unicode input methods:

  • Windows: Hold Alt and type the hex code on the numeric keypad (e.g., Alt+10450 for ๐‘€). Enable Unicode Input in the language bar.
  • macOS: Hold Option and type the hex code (e.g., Option+10450). Alternatively, use the macOS Unicode Hex Input layout.
  • Linux: Press Ctrl+Shift+U, then type the hex code and hit Enter.
  • Online: Use Unicodeโ€‘Table.com to copy characters directly.

Conclusion

Shavianโ€™s logical design makes it an excellent tool for learners, linguists, and web developers seeking a clear, phonetic script. By combining ShawAlphabet.comโ€™s conversion and typing tools with CSS webfonts and accessibility best practices, you can seamlessly integrate Shavian into modern web projects. Start today, experiment with the converter, and explore how a simple Unicode range can transform the way we write and read.

FAQ

Can I use Shavian in a website that is already live?

Yes. Add a @font-face rule for Shavian, apply the font to desired elements, and ensure screen readers handle the lang attribute. No major site overhaul is needed.

Is there a keyboard layout for Shavian on Windows?

While Windows does not ship a native Shavian layout, you can use thirdโ€‘party tools like the ShawAlphabet.com virtual keyboard or create a custom layout via Microsoft Keyboard Layout Creator.

Will screen readers pronounce Shavian correctly?

Most modern screen readers can recognize the lang="shv" attribute and use a builtโ€‘in phonetic model. If not, you can provide a plainโ€‘text translation or a phonetic transcription in the alt attribute.

Article reviewedLast updated November 6, 2026. Corrections and source improvements are welcome.