name: "🐛 버그 리포트 (Bug Report)"
description: "동작하지 않거나 잘못 동작하는 문제를 알려주세요 (Report something broken)"
title: "[Bug] "
labels: ["bug"]
body:
  - type: markdown
    attributes:
      value: |
        버그를 알려주셔서 감사합니다! 재현 정보가 자세할수록 빨리 고칠 수 있습니다.
        Thanks for reporting — English reports are welcome too.
  - type: textarea
    id: what-happened
    attributes:
      label: "무슨 일이 있었나요? (What happened?)"
      description: "기대한 동작과 실제 동작을 설명해주세요."
      placeholder: "예: 화면 낭독 버튼을 눌렀는데 소리가 나지 않습니다."
    validations:
      required: true
  - type: textarea
    id: repro
    attributes:
      label: "재현 방법 (Steps to reproduce)"
      placeholder: |
        1. 예제 페이지(basic.html)를 연다
        2. 접근성 패널을 연다
        3. '화면 낭독' 재생을 누른다
    validations:
      required: true
  - type: input
    id: version
    attributes:
      label: "ModuWeb 버전 (Version)"
      placeholder: "예: v2.1.0"
    validations:
      required: true
  - type: dropdown
    id: install-method
    attributes:
      label: "설치 방식 (Install method)"
      options:
        - "CDN (jsdelivr)"
        - "standalone 단일 파일"
        - "dist/ 폴더 복사"
        - "직접 초기화 (new WAT)"
        - "기타 (Other)"
    validations:
      required: true
  - type: input
    id: environment
    attributes:
      label: "브라우저 / OS (Browser / OS)"
      placeholder: "예: Chrome 138, Windows 11"
    validations:
      required: true
  - type: textarea
    id: console
    attributes:
      label: "콘솔 오류 (Console errors)"
      description: "F12 개발자 도구 콘솔에 표시된 오류가 있으면 붙여넣어 주세요."
      render: text
