Skip to content

AI-Assisted HTML Conversion

Approved AI tools can speed up the preparation of clean HTML. They create a working draft, not a finished or automatically conforming document.

V1 PDF conversion workflow

For the schoolboard.net v1 conversion workflow, use an approved PDF as the standard input and Gemini as the initial documented conversion service:

  1. Finalize the source in Google Docs, Microsoft Word, or another approved application.
  2. Download or export the approved source as a PDF.
  3. Upload the PDF to a district-approved Gemini account.
  4. Request semantic HTML and a separate list of items requiring human review.
  5. Compare the result with the PDF page by page.
  6. Place the reviewed HTML in the correct public or private Expandable HTML field.
  7. Save in Draft Mode and review the saved agenda.

Standardizing on PDF gives the conversion service a consistent input and preserves visual information that may be lost when a DOCX file is treated mainly as extracted text. It also avoids requiring Google Drive access or a separate server-side DOCX conversion process for v1.

See Appendix: Google Docs and PDF to Expandable HTML for the complete administrator procedure and reusable Gemini prompt.

!!! important "Gemini is the v1 starting provider"\ Gemini is the initial provider documented for the v1 PDF workflow. It is not a permanent or exclusive technical requirement. A district-approved alternative such as Claude may be used with the same prompt, privacy controls, source comparison, and human review. Provider recommendations may change after testing representative district documents.

The direct Google Docs, DOCX, and Claude procedures below remain available as optional manual workflows. Neither Gemini nor Claude guarantees WCAG 2.1 conformance. The district remains responsible for approving the service, reviewing the complete content, and evaluating the published result.

For a straightforward conversion, begin with:

Convert to WCAG 2.1 Level A and Level AA compatible HTML for input to a Drupal 10.4.1 content block.

This concise command has worked well as a starting point with both Gemini and Claude. Use the detailed prompts below when the source contains headings, lists, tables, images, scanned text, or information that must be reproduced exactly.

!!! note "Compatibility still requires review"\ This command requests HTML designed around WCAG 2.1 Level A and Level AA practices; it does not certify the result. Review the generated HTML, compare it with the approved source, and test the saved Drupal content before publication.

!!! warning "Protect district information"\ Follow district policy and use only an approved AI account or service. Never upload confidential, private, attorney-client, student, personnel, executive-session, or otherwise restricted material unless the district has specifically approved that use.

Google Docs cleanup with Gemini

Gemini can work with a Google Doc directly when the feature is available to the district's Google Workspace account. It is useful for removing unnecessary Google Docs formatting and producing a simpler HTML draft.

  1. Finalize and approve the Google Doc.
  2. Resolve suggestions, comments, placeholders, and drafting notes.
  3. Confirm that the document contains no private or restricted information.
  4. Ask Gemini to convert the approved content to clean semantic HTML.
  5. Copy only the HTML portion of the response.
  6. Review the HTML against the approved Google Doc.
  7. Paste it into the appropriate public or private Expandable HTML field.
  8. Save in Draft Mode and review the saved agenda.

Suggested Gemini prompt

For simple material, use the recommended quick command. For greater control, use this expanded prompt:

Convert this approved Google Docs content into clean semantic HTML for a
schoolboard.net Expandable HTML field.

Preserve the exact wording, meaning, names, dates, numbers, quotations, and
reading order. Do not summarize, rewrite, correct, omit, or invent content.
Clearly flag text that is uncertain because of OCR, layout, image quality, or
unclear source formatting.

Remove Google Docs formatting and unnecessary inline styles. Return only the
semantic HTML needed for logical headings, paragraphs, ordered and unordered
lists, descriptive links, and simple data tables.

For data tables, use table, thead, tbody, th, and appropriate scope attributes.
Do not use scripts, forms, iframes, layout tables, font tags, page headers,
page footers, page numbers, empty paragraphs for spacing, Markdown, or styling
that carries no meaning.

Do not invent alternative text. Do not include images, charts, or other
non-text visual content in the HTML. Instead, identify each item in Review
Items and describe what a human must decide or add.

For a simple financial data table, preserve it as a semantic table. Apply
class="sbn-currency" only to financial amount header and data cells. Format
amounts exactly as supplied; do not calculate, normalize, or add currency
symbols, commas, or decimal places. Do not apply the class to dates, IDs,
counts, or ordinary numbers.

Return:
1. exactly one HTML code block containing only the converted content; and
2. a separate Review Items list outside the HTML block.

!!! tip "Use the source as the authority"\ If Gemini changes a name, date, number, quotation, policy statement, or other approved wording, correct the HTML to match the source. A cleaner sentence is not necessarily the authorized sentence.

Microsoft Word DOCX conversion with Claude

For an approved Microsoft Word file, schoolboard.net currently recommends Claude as the first file-based conversion workflow. This separates Word conversion from the Gemini workflow used for material already maintained in Google Docs.

Claude and Gemini both currently accept DOCX uploads. If Claude is not approved or available, Gemini may be used with the same requirements and human review. For a recurring document type, districts may compare a representative, nonconfidential sample in their approved tools and adopt the workflow that preserves the source most accurately with the least corrective work.

!!! important "DOCX images require separate review"\ Claude currently extracts text from non-PDF documents and does not interpret embedded DOCX images. Inspect every image, chart, diagram, text box, SmartArt item, equation, and visually arranged element in Word. Supply human-written alternative text or an accessible text equivalent where needed. Do not assume that an omitted visual was decorative.

Prepare the Word file

  1. Confirm that the DOCX file is the final approved version.
  2. Accept or reject tracked changes and remove resolved comments, placeholders, and drafting notes.
  3. Use Word's built-in heading, list, link, and table structure.
  4. Run Review > Check Accessibility or the Accessibility Assistant available in the district's version of Word.
  5. Remove print-only headers, footers, page numbers, and repeated decorative elements that do not belong in the web content.
  6. Confirm that the file contains no confidential or restricted information prohibited from the approved AI service.
  7. Save a separate approved conversion copy so the source record is preserved.
  1. Upload the approved DOCX conversion copy to Claude.
  2. Request clean semantic HTML using the prompt below.
  3. Compare the response with the Word file from beginning to end.
  4. Restore any content omitted from text boxes, columns, headers, footers, images, charts, or other visual objects when that content belongs on the web page.
  5. Correct headings, lists, links, tables, reading order, names, dates, numbers, quotations, and legal language.
  6. Add human-reviewed alternative text or an accessible text explanation for informative visuals.
  7. Follow Move the converted HTML into schoolboard.net.
  8. Save in Draft Mode and compare the saved agenda with the approved Word source.

Suggested DOCX prompt

For simple material, use the recommended quick command. For greater control, use this expanded prompt:

Convert the attached approved Microsoft Word DOCX file into clean semantic
HTML for a schoolboard.net Expandable HTML field.

Preserve the exact wording, meaning, names, dates, numbers, quotations, list
order, and logical reading order. Do not summarize, rewrite, correct, omit, or
invent content. Clearly flag text that is uncertain because of document
structure, conversion limitations, or unreadable source content.

Remove Microsoft Word formatting, classes, metadata, and unnecessary inline
styles. Return only the semantic HTML needed for logical headings, paragraphs,
ordered and unordered lists, descriptive links, and simple data tables.

For data tables, use table, thead, tbody, th, and appropriate scope attributes.
Do not use scripts, forms, iframes, layout tables, font tags, page headers,
page footers, page numbers, empty paragraphs for spacing, Markdown, or styling
that carries no meaning.

Do not invent alternative text. Do not include images, charts, diagrams, text
boxes, SmartArt objects, or other non-text visual content in the HTML. Instead,
identify each item in Review Items and describe what a human must decide, add,
or verify. If an item cannot be extracted from the DOCX file, flag its
approximate location instead of silently omitting it.

For a simple financial data table, preserve it as a semantic table. Apply
class="sbn-currency" only to financial amount header and data cells. Format
amounts exactly as supplied; do not calculate, normalize, or add currency
symbols, commas, or decimal places. Do not apply the class to dates, IDs,
counts, or ordinary numbers.

Return:
1. exactly one HTML code block containing only the converted content; and
2. a separate Review Items list outside the HTML block.

!!! tip "When Gemini is the approved DOCX tool"\ Upload the approved DOCX file to Gemini and use the same DOCX prompt. File-upload availability and limits can vary by account. Apply the same source comparison, privacy controls, visual-content review, browser review, and saved-agenda testing.

PDF conversion with Claude

Claude can analyze uploaded PDFs, including visual elements in supported PDFs and models. In schoolboard.net's experience to date, Claude has generally produced the cleanest first draft for PDF-to-HTML conversion. This is a practical preference, not a guarantee that every PDF will convert accurately or accessibly.

  1. Confirm that the PDF is the approved version.
  2. Determine whether the PDF contains scanned pages, handwriting, complex tables, charts, columns, or unusual reading order.
  3. Confirm that the PDF contains no information prohibited from the approved AI service.
  4. Upload the PDF and request semantic HTML.
  5. Compare the response with the PDF page by page.
  6. Correct extraction, OCR, reading-order, table, and link errors.
  7. Add human-written alternative text where an image conveys information.
  8. Paste the reviewed HTML into the correct Expandable HTML field.
  9. Save in Draft Mode and review the saved agenda.

Suggested Claude prompt

For simple material, use the recommended quick command. For greater control, use this expanded prompt:

Convert the attached approved PDF into clean semantic HTML for a
schoolboard.net Expandable HTML field.

Preserve the exact wording, meaning, names, dates, numbers, quotations, and
reading order. Do not summarize, rewrite, correct, or invent missing content.
Clearly flag text that is uncertain because of scanning, OCR, layout, or image
quality.

Use logical headings, paragraphs, ordered and unordered lists, descriptive
links, and simple data tables with proper header cells. For data tables, use
table, thead, tbody, th, and appropriate scope attributes.

Do not use scripts, layout tables, font tags, page headers, page footers, page
numbers, empty paragraphs for spacing, unnecessary inline styling, Markdown,
or explanatory text inside the HTML.

Do not invent alternative text. Mark images, charts, complex tables, unclear
reading order, and other items that require a human accessibility decision.

For a simple financial data table, preserve it as a semantic table. Apply
class="sbn-currency" only to financial amount header and data cells. Format
amounts exactly as supplied; do not calculate, normalize, or add currency
symbols, commas, or decimal places. Do not apply the class to dates, IDs,
counts, or ordinary numbers.

Return:
1. exactly one HTML code block containing only the converted content; and
2. a separate Review Items list outside the HTML block.

!!! important "Scanned PDFs need extra review"\ OCR can silently change names, dates, dollar amounts, page order, punctuation, and legal language. Compare every converted section with the approved PDF and do not guess when the source is unclear.

Move the converted HTML into schoolboard.net

After Gemini or Claude creates the HTML, review it in a browser before placing it in the agenda.

  1. Save or open the generated HTML in a web browser.
  2. Review the displayed page for missing content, unexpected formatting, and obvious conversion errors.
  3. Right-click the page and select View Page Source or View Source.
  4. In the source view, copy the content beginning with the opening <div> and ending with its closing </div>.
  5. Open the appropriate public or private Expandable HTML component in the agenda.
  6. Select Source in the content editor toolbar.
  7. On a wide screen, Source may appear as the far-right toolbar icon.
  8. On a smaller window, open the overflow menu to find it.
  9. Paste the copied HTML into the Source editor.
  10. Return to the normal editing view and confirm that the content appears correctly.
  11. Save the agenda in Draft Mode.
  12. Open the saved agenda, expand the content, and compare it with the approved source.

!!! note "The editor cleans pasted HTML"\ When HTML is pasted or saved, the editor may remove markup it considers unsupported or incompatible. This cleanup can remove unnecessary code, but it can also change the result. Always review the normal editing view and the saved agenda after pasting. If important content or structure disappears, correct the HTML using markup supported by the editor.

!!! warning "Copy only the intended content"\ Copy the intended content container from its opening <div> through the matching closing </div>. Do not copy the browser page's <html>, <head>, scripts, stylesheets, prompts, review notes, or other surrounding code.

Required human review

Before publication, confirm that:

  • every statement matches the approved source;
  • names, dates, times, dollar amounts, vote language, quotations, and legal text are exact;
  • heading levels are logical;
  • numbered and bulleted content uses real lists;
  • links are descriptive and open the intended destination;
  • simple tables have correct row and column headers;
  • complex tables have been simplified or given another accessible presentation;
  • informative images have human-reviewed alternative text;
  • reading order makes sense without the original visual layout;
  • no comments, prompts, AI notes, placeholders, or invented content remain;
  • the editor did not remove or alter necessary content when the HTML was pasted or saved;
  • public and private placement is correct; and
  • the saved page works on desktop and mobile and can be used with a keyboard.

WCAG conformance requires more than generated markup. Accessibility evaluation uses automated, semi-automated, and manual testing, and the published content still requires informed human judgment.